identity

inline fun <T : Number, Comparable<T>> identity(): Mat3<T>

Returns a 3×3 identity matrix.

Since

v2.0.0


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

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

Since

v2.0.0


Deprecated

Use Mat3.identity() instead.

Replace with

Mat3.identity<Float>()

A 3×3 identity matrix.