Builds a matrix that rotates around the x-axis.
XMMATRIX XMMatrixRotationX(
float Angle
)
Angle
Type: float
Angle of rotation around the x-axis, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Type: XMMATRIX
Returns the rotation matrix.
Header: Declared in directxmath.h.