Function XMMatrixRotationX

Source
pub fn XMMatrixRotationX(Angle: f32) -> XMMATRIX
Expand description

Builds a matrix that rotates around the x-axis.

§Parameters

Angle Angle of rotation around the x-axis, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

§Return value

Returns the rotation matrix.

§Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMMatrixRotationX