Contents

GLKVector2Maximum(_:_:)

Returns a new vector whose component value at each position is the largest component value at the same position of the two source vectors.

Declaration

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

Parameters

  • vectorLeft:

    The first vector.

  • vectorRight:

    The second vector.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors