- type
- class
Polygon class with various geometric methods
This class represents a general Polygon, rather than the Polygon class which is physics shape.
Internally this polygon is stored as a circularly linked list of special vertex types that are exposed via a Vec2 that is lazily constructed whenever necessary to the API.
This class represents a general Polygon, rather than the Polygon class which is physics shape.
Internally this polygon is stored as a circularly linked list of special vertex types that are exposed via a Vec2 that is lazily constructed whenever necessary to the API.
Static Methods
static function get(vertices:Dynamic = null):GeomPoly
