Contents

GLKVector3Subtract(_:_:)

Returns the difference between two vectors.

Declaration

func GLKVector3Subtract(_ vectorLeft: GLKVector3, _ vectorRight: GLKVector3) -> GLKVector3

Parameters

  • 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