Function nalgebra_glm::rotate_x

source ·
pub fn rotate_x<T: RealNumber>(m: &TMat4<T>, angle: T) -> TMat4<T>
Expand description

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

Parameters:

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

See also: