mulLeft

fun mulLeft(other: Mat4): Mat4

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: Mat4, result: Mat4): Mat4

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