Function nalgebra_glm::look_at_lh
source · pub fn look_at_lh<T: RealNumber>(
eye: &TVec3<T>,
center: &TVec3<T>,
up: &TVec3<T>
) -> TMat4<T>
Expand description
Build a left 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)
.