![]() |
![]() |
![]() |
Matrix.RotationX Method |
Language: |
Builds a matrix that rotates around the x-axis.
Visual Basic Public Shared Function RotationX( _
ByVal angle As Single _
) As MatrixC# public static Matrix RotationX(
float angle
);C++ public:
static Matrix RotationX(
float angle
);JScript public static function RotationX(
angle : float
) : Matrix;
angle System.Single
Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Microsoft.DirectX.Matrix
Rotated Matrix structure.
The input rotation angle is in radians.
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