mulLeft

fun mulLeft(other: Mat3): Mat3

Pre-multiplies this matrix with the given matrix, storing the result in this matrix.

For example:

A.mulLeft(B) results in A := BA.

Return

this matrix

Parameters

other

the other matrix to multiply by


fun mulLeft(other: Mat3, result: Mat3): Mat3

Pre-multiplies this matrix with the given matrix, storing the result in the specified matrix.

For example:

A.mulLeft(B) results in A := BA.

Return

the result matrix

Parameters

other

the other matrix to multiply by

result

the matrix to store the result