Function convert2WorldSpace

  • Converts the point to world space. The point is in the viewport space where the "bottom left" corner is the origin. Camera position is the position of the camera in world space.

    Parameters

    • point: Point
    • viewPortWidth: number
    • viewPortHeight: number
    • cameraPosition: Point
    • cameraZoomLevel: number
    • cameraRotation: number

    Returns Point