QuaternionRotationAxisDegrees Method |
Form a rotation
Quaternion rotating about given axis
Namespace:
Microsoft.DirectX
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntaxpublic static Quaternion RotationAxisDegrees(
Vector3 axis,
double degrees
)
Parameters
- axis
- Type: Microsoft.DirectXVector3
Axis to rotate about - degrees
- Type: SystemDouble
Angle in degrees
Return Value
Type:
QuaternionResulting rotation
Quaternion
See Also