Creates an empty polygon
Creates a polygon using a list of vertices as vertices
Returns whether or not a given point is inside the polygon This algorithm uses scanlining (see Renderer.fillPolygon) Conceptually, it draws a ray to the left from the given point; if the ray intersects the polygon an odd number of times the point is within the polygon
Casts the polygon to a polygon of another type
Gets the sides of a polygon
The vertices of the polygon
A polygon is an object defined by its vertices in 2 space T is the type of the polygon and sides is how many sides the polygon has TODO: upgrade to dimension-ambiguous model class in math