frustum

fun frustum(left: Float, right: Float, bottom: Float, top: Float, near: Float, far: Float): Mat4

Creates a projection matrix for a perspective projection defined by a given frustum.

The frustum is defined by its near and far depth clipping planes, and its left, right, bottom and top clipping planes (specified at the near depth).