Click or drag to resize

QuaternionToAxisAngle(Quaternion, Vector3, Double) Method

Extract axis and angle from Quaternion

Namespace: Microsoft.DirectX
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public static void ToAxisAngle(
	Quaternion q,
	ref Vector3 axis,
	ref double angle
)

Parameters

q  Quaternion
Source Quaternion
axis  Vector3
Reference to Vector3 to store the axis in
angle  Double
Reference to a Double variable to store the angle (in radians) in
See Also