Static variables
Static methods
staticcalculatePerspective(pos:Vector3D, FOV:Float, offsetX:Float = 0, offsetY:Float = 0):Vector3D
Converts a Vector3D to its in world coordinates using perspective math
staticgetCartesianCoords3D(theta:Float, phi:Float, radius:Float):Vector3D
Returns in-world 3D coordinates using polar angle, azimuthal angle and a radius. (Spherical to Cartesian)
Parameters:
theta | Angle used along the polar axis. |
---|---|
phi | Angle used along the azimuthal axis. |
radius | Distance to center. |