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 void QuaternionToEulerYawPitchRoll(
	Vector4D q,
	out double pitch,
	out double yaw,
	out double roll
)

Parameters

q
Type: VVVV.Utils.VMath..::..Vector4D
A quaternion, can be non normalized
pitch
Type: System..::..Double%

[Missing <param name="pitch"/> documentation for "M:VVVV.Utils.VMath.VMath.QuaternionToEulerYawPitchRoll(VVVV.Utils.VMath.Vector4D,System.Double@,System.Double@,System.Double@)"]

yaw
Type: System..::..Double%

[Missing <param name="yaw"/> documentation for "M:VVVV.Utils.VMath.VMath.QuaternionToEulerYawPitchRoll(VVVV.Utils.VMath.Vector4D,System.Double@,System.Double@,System.Double@)"]

roll
Type: System..::..Double%

[Missing <param name="roll"/> documentation for "M:VVVV.Utils.VMath.VMath.QuaternionToEulerYawPitchRoll(VVVV.Utils.VMath.Vector4D,System.Double@,System.Double@,System.Double@)"]

See Also