lgeo 1.0.2

2D Geometry library, focusing on collision computation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod gjk;
mod shapes;
mod util;
mod shape;

// gjk folder re-exports
pub use gjk::GJK;
pub use gjk::Simplex;
pub use gjk::SupportPoint;

// shapes re-exports
pub use shapes::AABB;
pub use shapes::Circle;
pub use shapes::Polygon;

// shape trait
pub use shape::Shape;