OrthographicLens

data class OrthographicLens<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 an orthographic (parallel) projection defined by a given set of clipping planes: left, right, bottom, top, near and far.

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>