Contents

GLKMatrix4Subtract(_:_:)

Returns a new 4x4 matrix created by performing a component-wise subtraction of two matrices.

Declaration

func GLKMatrix4Subtract(_ matrixLeft: GLKMatrix4, _ matrixRight: GLKMatrix4) -> GLKMatrix4

Parameters

  • matrixLeft:

    The starting matrix.

  • matrixRight:

    The matrix to subtract.

Return Value

A new matrix whose components each represent the difference between the components found in the same positions of the two source matrices.

See Also

Performing Mathematical Operations on Matrices