Download Now

    Reference AreaForPolygon

    Declared in Codebot.Physics.pas on line 110

    The signed area of a polygon, which is positive for the winding used by Chipmunk2D polygons
    function AreaForPolygon(const Verts: array of TVec2; Radius: Float = 0): Float;

    See also

    TVec2 in Codebot.Geometry.pas
    Float in Codebot.System.pas