Function nalgebra_glm::rotate_z[][src]

pub fn rotate_z<T: RealField>(m: &TMat4<T>, angle: T) -> TMat4<T>
Expand description

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.

See also: