Matrix.RotateQuaternion Method |
Language: |
Rotates a matrix from a quaternion.
Visual Basic Public Sub RotateQuaternion( _
ByVal quat As Quaternion _
)C# public void RotateQuaternion(
Quaternion quat
);C++ public:
void RotateQuaternion(
Quaternion quat
);JScript public function RotateQuaternion(
quat : Quaternion
);
quat Microsoft.DirectX.Quaternion
Source Quaternion structure that defines the rotation.
For information about how to calculate quaternion values from a direction vector ( x, y, z ) and an angle of rotation, see Quaternion.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center