Function acgmath::frustum [] [src]

pub fn frustum<S: BaseFloat>(
    left: S,
    right: S,
    bottom: S,
    top: S,
    near: S,
    far: S
) -> Matrix4<S>

Create a perspective matrix from a view frustrum.

This is the equivalent of the now deprecated glFrustrum function.