Function nalgebra_glm::look_at_rh

source ·
pub fn look_at_rh<N: Real>(
    eye: &TVec3<N>,
    center: &TVec3<N>,
    up: &TVec3<N>
) -> TMat4<N>
Expand description

Build a right handed look at view matrix.

Parameters:

  • eye − Position of the camera.
  • center − Position where the camera is looking at.
  • u − Normalized up vector, how the camera is oriented. Typically (0, 1, 0).

See also: