UtilVectorToInverseRotation Method |
Creates a rotation matrix to convert from a co-ordinate frame defined by a set of vectors to world co-ordinates.
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic static Matrix VectorToInverseRotation(
Vector3 xAxis,
Vector3 yAxis,
Vector3 zAxis
)
Parameters
- xAxis
- Type: Microsoft.DirectXVector3
A vector defining the direction of the X-axis. - yAxis
- Type: Microsoft.DirectXVector3
A vector defining the direction of the Y-axis. - zAxis
- Type: Microsoft.DirectXVector3
A vector defining the direction of the Z-axis.
Return Value
Type:
MatrixThe rotation matrix created.
See Also