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