Click or drag to resize

QuaternionRotationAxisDegrees Method

Form a rotation Quaternion rotating about given axis

Namespace: Microsoft.DirectX
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public static Quaternion RotationAxisDegrees(
	Vector3 axis,
	double degrees
)

Parameters

axis  Vector3
Axis to rotate about
degrees  Double
Angle in degrees

Return Value

Quaternion
Resulting rotation Quaternion
See Also