Package-level declarations
Core data types.
Core data types.
Core data types.
Types
Link copied to clipboard
data class AngleRange<T : Number, Comparable<T>>(val start: Angle<T>, val endInclusive: Angle<T>) : ClosedRange<Angle<T>>
A range of values of type Angle.
Functions
Link copied to clipboard
inline fun <T : Number, Comparable<T>> frustum(left: T, right: T, bottom: T, top: T, near: T, far: T): Mat4<T>
fun <T : Number, Comparable<T>> frustum(left: T, right: T, bottom: T, top: T, near: T, far: T, type: KClass<T>): Mat4<T>
Creates a projection matrix for a perspective projection defined by a given frustum.
Link copied to clipboard
Link copied to clipboard
inline fun <T : Number, Comparable<T>> perspective(fovY: Angle<T>, aspect: T, near: T, far: T): Mat4<T>
fun <T : Number, Comparable<T>> perspective(fovY: Angle<T>, aspect: T, near: T, far: T, type: KClass<T>): Mat4<T>
Creates a projection matrix for a perspective projection defined by a given frustum.
Link copied to clipboard
Creates a transformation matrix for scaling by a given scale.
Link copied to clipboard
Link copied to clipboard
Returns an array of elements of this matrix.
Returns an array of coordinates of this vector.
Link copied to clipboard
Returns an array of elements of this matrix.
Returns an array of coordinates of this vector.
Link copied to clipboard
Returns an array of coordinates of this vector.
Link copied to clipboard
Returns an array of coordinates of this vector.
Link copied to clipboard
Creates a transformation matrix for a translation by a given vector.
Link copied to clipboard
Returns a number opposite to this number.
Link copied to clipboard
Link copied to clipboard