[−][src]Function directx_math::XMMatrixRotationX
pub fn XMMatrixRotationX(Angle: f32) -> XMMATRIX
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