Contents

GLKVector4Add(_:_:)

Returns the sum of two vectors.

Declaration

func GLKVector4Add(_ vectorLeft: GLKVector4, _ vectorRight: GLKVector4) -> GLKVector4

Parameters

  • vectorLeft:

    The first vector.

  • vectorRight:

    The second vector.

Return Value

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

See Also

Mathematical Operations Performed on Vectors