Skip to main content

MAX_POLYGON_VERTICES

Constant MAX_POLYGON_VERTICES 

Source
pub(crate) const MAX_POLYGON_VERTICES: usize = 12;
Expand description

A tetra cut by a plane gives at most 4 vertices, and clipping a convex polygon by a half space adds at most one, so four bounds can never take it past 8