mul

fun mul(other: Mat3): Mat3

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

For example:

A.mul(B) results in A := AB

Return

this matrix

Parameters

other

the other matrix to multiply by


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

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

For example:

A.mul(B) results in A := AB

Return

the result matrix

Parameters

other

the other matrix to multiply by

result

the matrix to store the result