FrustumLens

data class FrustumLens<T : Number, Comparable<T>>(val left: T, val right: T = -left, val bottom: T, val top: T = -bottom, val near: T, val far: T, val type: KClass<T>) : Lens<T>

A lens 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).

Constructors

Link copied to clipboard
constructor(left: T, right: T = -left, bottom: T, top: T = -bottom, near: T, far: T, type: KClass<T>)

Properties

Link copied to clipboard
val bottom: T
Link copied to clipboard
val far: T
Link copied to clipboard
val left: T
Link copied to clipboard
val near: T
Link copied to clipboard
open override val projectionMatrix: Mat4<T>

Projection matrix defined by the lens.

Link copied to clipboard
val right: T
Link copied to clipboard
val top: T
Link copied to clipboard
val type: KClass<T>