Function truck_geometry::base::perspective

source ยท
pub fn perspective<S, A>(fovy: A, aspect: S, near: S, far: S) -> Matrix4<S>
where S: BaseFloat, A: Into<Rad<S>>,
Expand description

Create a perspective projection matrix.

This is the equivalent to the gluPerspective function.