[−]Function rusty_engine::prelude::glm::look_at_rh
pub fn look_at_rh<N>(
eye: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
center: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
up: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
) -> Matrix<N, U4, U4, <DefaultAllocator as Allocator<N, U4, U4>>::Buffer> where
N: RealField,
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)
.