Function nalgebra_glm::look_at [−][src]
pub fn look_at<T: RealField>(
eye: &TVec3<T>,
center: &TVec3<T>,
up: &TVec3<T>
) -> TMat4<T>
Build a look at view matrix based on the right handedness.
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)
.