Package graphics.glimpse.lenses

Lenses, defining projection matrix.

Types

Link copied to clipboard
data class FrustumLens(left: Float, right: Float, bottom: Float, top: Float, near: Float, far: Float) : Lens

A lens for a perspective projection defined by a given frustum.

Link copied to clipboard
interface Lens

An interface for a lens.

Link copied to clipboard
data class OrthographicLens(left: Float, right: Float, bottom: Float, top: Float, near: Float, far: Float) : Lens

A lens for an orthographic (parallel) projection defined by a given set of clipping planes: left, right, bottom, top, near and far.

Link copied to clipboard
data class PerspectiveLens(fovY: Angle, aspect: Float, near: Float, far: Float) : Lens

A lens for a perspective projection defined by a given frustum.