fromFloatArray

@JvmStatic
fun fromFloatArray(array: FloatArray): Matrix3

Creates a new Matrix3 instance from a float array.

Return

The new Matrix3 instance.

Parameters

array

The float array of the matrix.

Throws

IllegalArgumentException

If the length of the array is not 9.