Function rotate_y

Source
pub fn rotate_y<T>(
    m: &Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>,
    angle: T,
) -> Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>
where T: RealNumber,
Expand description

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

§Parameters:

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

§See also: