Contents

GLKMatrix4Add(_:_:)

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

Declaration

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

Parameters

  • matrixLeft:

    The first matrix.

  • matrixRight:

    The second matrix.

Return Value

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

See Also

Performing Mathematical Operations on Matrices