Converts a quaternion into euler angles, assuming that the euler angle multiplication to create the quaternion was yaw*pitch*roll. All angles in radian.

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

Syntax

C#
public static Vector3D QuaternionToEulerYawPitchRoll(
	Vector4D q
)

Parameters

q
Type: VVVV.Utils.VMath..::..Vector4D
A quaternion, can be non normalized

Return Value

3d-vector with x=pitch, y=yaw, z=roll

See Also