GLKVector2Subtract(_:_:)
Returns the difference between two vectors.
Declaration
func GLKVector2Subtract(_ vectorLeft: GLKVector2, _ vectorRight: GLKVector2) -> GLKVector2Parameters
- vectorLeft:
The starting vector.
- vectorRight:
The vector to subtract.
Return Value
A new vector whose components each represent the difference between the components found in the same positions of the two source vectors.
See Also
Mathematical Operations Performed on Vectors
GLKVector2Negate(_:)GLKVector2Normalize(_:)GLKVector2AddScalar(_:_:)GLKVector2SubtractScalar(_:_:)GLKVector2MultiplyScalar(_:_:)GLKVector2DivideScalar(_:_:)GLKVector2Add(_:_:)GLKVector2Multiply(_:_:)GLKVector2Divide(_:_:)GLKVector2DotProduct(_:_:)GLKVector2Lerp(_:_:_:)GLKVector2Project(_:_:)GLKVector2Maximum(_:_:)GLKVector2Minimum(_:_:)