toArray

fun toArray(matrix: Matrix3, result: ReadonlyArray<Double>? = definedExternally): ReadonlyArray<Double>(source)

Creates an Array from the provided Matrix3 instance. The array will be in column-major order.

Return

The modified Array parameter or a new Array instance if one was not provided.

Parameters

matrix

The matrix to use..

result

The Array onto which to store the result.

See also