Companion

object Companion

Functions

Link copied to clipboard
inline fun <T : Number, Comparable<T>> identity(): Mat4<T>

Returns a 4×4 identity matrix.

fun <T : Number, Comparable<T>> identity(type: KClass<T>): Mat4<T>

Returns a 4×4 identity matrix with elements of given type.

Properties

Link copied to clipboard

A 4×4 identity matrix.