[−][src]Function directx_math::XMMatrixRotationNormal
pub fn XMMatrixRotationNormal(NormalAxis: FXMVECTOR, Angle: f32) -> XMMATRIX
Builds a matrix that rotates around an arbitrary normal vector.
Parameters
NormalAxis
Normal vector describing the axis of rotation.
Angle
Angle of rotation 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-XMMatrixRotationNormal