UtilAngleBetweenMatrices Method |
Determines the shortest (unsigned) rotation angle between the upper 3x3 rotation parts of the specified
matrices.
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic static double AngleBetweenMatrices(
Matrix m1,
Matrix m2
)
Parameters
- m1
- Type: Microsoft.DirectXMatrix
The first matrix. - m2
- Type: Microsoft.DirectXMatrix
The second matrix.
Return Value
Type:
DoubleThe shortest (unsigned) rotation angle, in the interval [0, PI].
See Also