Convert cartesian coordinates (x, y, z) to VVVV style polar coordinates (pitch, yaw, lenght) in radian. To convert the angles to cycles, multiply them with VMath.DegToCyc.

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static Vector3D PolarVVVV(
	double x,
	double y,
	double z
)

Parameters

x
Type: System..::..Double

[Missing <param name="x"/> documentation for "M:VVVV.Utils.VMath.VMath.PolarVVVV(System.Double,System.Double,System.Double)"]

y
Type: System..::..Double

[Missing <param name="y"/> documentation for "M:VVVV.Utils.VMath.VMath.PolarVVVV(System.Double,System.Double,System.Double)"]

z
Type: System..::..Double

[Missing <param name="z"/> documentation for "M:VVVV.Utils.VMath.VMath.PolarVVVV(System.Double,System.Double,System.Double)"]

Return Value

3d-point in polar coordinates

See Also