Function nalgebra_glm::look_at [−][src]
pub fn look_at<N: Real>(
eye: &TVec3<N>,
center: &TVec3<N>,
up: &TVec3<N>
) -> TMat4<N>
Build a look at view matrix based on the right handedness.
Parameters
eye
− Position of the cameracenter
− Position where the camera is looking atu
− Normalized up vector, how the camera is oriented. Typically(0, 1, 0)