Function cgmath::perspective [] [src]

pub fn perspective<S: BaseFloat + 'static, A: Angle<S>>(fovy: A, aspect: S, near: S, far: S) -> Matrix4<S>

Create a perspective projection matrix.

This is the equivalent to the gluPerspective function.