transposeToArray

fun transposeToArray(result: FloatArray, offset: Int): FloatArray

Transposes this matrix, storing the result in the specified single precision array. The result is compatible with GLSL uniform matrices, and can be passed to the function glUniformMatrix3fv.

Return

the result argument set to the transposed components

Parameters

result

a pre-allocated array of length 9 in which to return the transposed components