Function directx_math::XMMatrixRotationZ [−][src]
pub fn XMMatrixRotationZ(Angle: f32) -> XMMATRIX
Builds a matrix that rotates around the z-axis
.
Parameters
Angle
Angle of rotation around the z-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-XMMatrixRotationZ