Skip to content

multiplyTransformMatrixArray

multiplyTransformMatrixArray(matrices, is2x2?): TMat2D

Defined in: src/util/misc/matrix.ts:96

Multiplies matrices such that a matrix defines the plane for the rest of the matrices after it

multiplyTransformMatrixArray([A, B, C, D]) is equivalent to A(B(C(D)))

Parameters

matrices

(undefined | null | false | TMat2D)[]

an array of matrices

is2x2?

boolean

flag to multiply matrices as 2x2 matrices

Returns

TMat2D

the multiplication product