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