Function nalgebra_glm::rotate_z[][src]

pub fn rotate_z<N: Real>(m: &TMat4<N>, angle: N) -> TMat4<N>

Builds a rotation 4 * 4 matrix around the Z axis and right-multiply it to m.

Parameters

  • m − Input matrix multiplied by this rotation matrix.
  • angle − Rotation angle expressed in radians.