GLKVector3Add(_:_:)
Returns the sum of two vectors.
Declaration
func GLKVector3Add(_ vectorLeft: GLKVector3, _ vectorRight: GLKVector3) -> GLKVector3Parameters
- 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
GLKVector3Negate(_:)GLKVector3Normalize(_:)GLKVector3AddScalar(_:_:)GLKVector3SubtractScalar(_:_:)GLKVector3MultiplyScalar(_:_:)GLKVector3DivideScalar(_:_:)GLKVector3Subtract(_:_:)GLKVector3Multiply(_:_:)GLKVector3Divide(_:_:)GLKVector3DotProduct(_:_:)GLKVector3CrossProduct(_:_:)GLKVector3Lerp(_:_:_:)GLKVector3Project(_:_:)GLKVector3Maximum(_:_:)GLKVector3Minimum(_:_:)