Function truck_rendimpl::modeling::base::frustum [−]
pub fn frustum<S>(
left: S,
right: S,
bottom: S,
top: S,
near: S,
far: S
) -> Matrix4<S> where
S: BaseFloat,
Create a perspective matrix from a view frustum.
This is the equivalent of the now deprecated glFrustum
function.