[][src]Function cgmath::perspective

pub fn perspective<S: BaseFloat, A: Into<Rad<S>>>(
    fovy: A,
    aspect: S,
    near: S,
    far: S
) -> Matrix4<S>

Create a perspective projection matrix.

This is the equivalent to the gluPerspective function.