Function glm::ext::look_at_rh
[−]
[src]
pub fn look_at_rh<T>(
eye: Vector3<T>,
center: Vector3<T>,
up: Vector3<T>
) -> Matrix4<T> where
T: BaseFloat + GenFloat<T>,
Build a right handed look at view matrix.
View matrix is based on the eye
position of the camera, center
position where the camera is
looking at and a normalized up
vector, how the camera is oriented. Typically (0, 0, 1)