@:value({ z : 0. })staticfromPolygon2D(p:Polygon, z:Float = 0.):Polygon
new()
@:value({ stride : 3 })addBuffers(vertexes:Vector<Float32>, indexes:Vector<Int>, stride:Int = 3):Void
clone():Polygon
contains(p:Point):Bool
getBounds(?bnds:Bounds):Bounds
getPoints():Array<Point>
inFrustum(f:Frustum, ?m:Matrix):Bool
inSphere(s:Sphere):Bool
isConvex():Bool
makeDebugObj():Object
rayIntersection(r:Ray, bestMatch:Bool):Float
transform(m:Matrix):Void