GLKMatrix4Add(_:_:)
Returns a new 4x4 matrix created by performing a component-wise addition of two matrices.
Declaration
func GLKMatrix4Add(_ matrixLeft: GLKMatrix4, _ matrixRight: GLKMatrix4) -> GLKMatrix4Parameters
- 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
GLKMatrix4Invert(_:_:)GLKMatrix4Transpose(_:)GLKMatrix4InvertAndTranspose(_:_:)GLKMatrix4Multiply(_:_:)GLKMatrix4Rotate(_:_:_:_:_:)GLKMatrix4RotateWithVector3(_:_:_:)GLKMatrix4RotateWithVector4(_:_:_:)GLKMatrix4RotateX(_:_:)GLKMatrix4RotateY(_:_:)GLKMatrix4RotateZ(_:_:)GLKMatrix4Scale(_:_:_:_:)GLKMatrix4ScaleWithVector3(_:_:)GLKMatrix4ScaleWithVector4(_:_:)GLKMatrix4Translate(_:_:_:_:)GLKMatrix4TranslateWithVector3(_:_:)