Function truck_rendimpl::polymesh::perspective [−]
pub fn perspective<S, A>(fovy: A, aspect: S, near: S, far: S) -> Matrix4<S> where
A: Into<Rad<S>>,
S: BaseFloat,
Create a perspective projection matrix.
This is the equivalent to the gluPerspective
function.