PerspectiveLens

inline fun <T : Number, Comparable<T>> PerspectiveLens(fovY: Angle<T>, aspect: T, near: T, far: T): PerspectiveLens<T>

Returns a new lens for a perspective projection defined by a given frustum.

The frustum is defined by its near and far depth clipping planes, and its field of view angle in the Y direction and aspect ratio between X and Y field of view.