Function three_d::core::math::perspective [−][src]
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.