fun subtract(result: ZMatrix4, m1: ZMatrix4, m2: ZMatrix4)(source)

Subtracts two 4x4 matrices and stores the result in the provided result matrix.

Parameters

result

The matrix to store the result of the subtraction.

m1

The first matrix to subtract from.

m2

The second matrix to be subtracted.