collision v0.1.0 API Reference

Modules

Wrapper around functionality to generate polygons and test for collisions

Helper functions useful for all polygons

A regular polygon is equiangular and equilateral — all angles and all sides be equal. With enough sides, a regular polygon tends toward a circle

A vertex is a point in the Cartesian space where a polygon’s edges meet

Implements the separating axis theorem for collision detection

Wrapper around vector creation functions

Two-dimensional vectors used in detecting collisions

Three dimensional vectors

Protocols