Function toLocalFrame

  • Transform a point position to local frame.

    Parameters

    • out: Vec2
    • worldPoint: Vec2
    • framePosition: Vec2
    • frameAngle: number

    Returns Vec2