1
2
3
4
5
6
7
8
9
pub const PI: f32 = 3.14159265359;

pub const MAX_MANIFOLD_POINTS: usize = 2;
pub const MAX_POLYGON_VERTICES: usize = 8;

pub const LINEAR_SLOP: f32 = 0.005;
pub const ANGULAR_SLOP: f32 = 2. / 180. * PI;

pub const POLYGON_RADIUS: f32 = 2. * LINEAR_SLOP;