Download Now

    Reference MomentForPolygon

    Declared in Codebot.Physics.pas on lines 101, 102

    function MomentForPolygon(Mass: Float; const Verts: array of TVec2; Radius: Float = 0): Float; overload;
    function MomentForPolygon(Mass: Float; const Verts: array of TVec2; const Offset: TVec2; Radius: Float = 0): Float; overload;

    See also

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