pub fn rotate_normalized_axis<N: Real>(
    m: &TMat4<N>,
    angle: N,
    axis: &TVec3<N>
) -> TMat4<N>
Expand description

Builds a rotation 4 * 4 matrix created from a normalized axis and an angle.

Parameters:

  • m - Input matrix multiplied by this rotation matrix.
  • angle - Rotation angle expressed in radians.
  • axis - Rotation axis, must be normalized.