Builds a matrix that rotates around an arbitrary normal vector.
XMMATRIX XMMatrixRotationNormal(
XMVECTOR NormalAxis,
float Angle
)
NormalAxis
Type: XMVECTOR
Normal vector describing the axis of rotation.
Angle
Type: float
Angle of rotation 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.