pub fn perspective<S: BaseFloat, A: Into<Rad<S>>>(
    fovy: A,
    aspect: S,
    near: S,
    far: S,
) -> Matrix4<S> {
    PerspectiveFov {
        fovy: fovy.into(),
        aspect,
        near,
        far,
    }
    .into()
}
Create a perspective projection matrix.

This is the equivalent to the [`gluPerspective`] function.

[`gluPerspective`]: https://www.opengl.org/sdk/docs/man2/xhtml/gluPerspective.xml
src/projection.rs