Contents

GLKVector2Divide(_:_:)

Returns a new vector created by dividing one vector by another.

Declaration

func GLKVector2Divide(_ vectorLeft: GLKVector2, _ vectorRight: GLKVector2) -> GLKVector2

Parameters

  • vectorLeft:

    The first vector.

  • vectorRight:

    The dividend.

Return Value

A new vector whose components are each calculated by dividing the component found in same position of the first vector by the component found in the same position of the second vector.

See Also

Mathematical Operations Performed on Vectors