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