toArray

fun toArray(matrix: Matrix2, result: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>?? = definedExternally): ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>(source)

Creates an Array from the provided Matrix2 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