Contents

GLKVector2Negate(_:)

Returns a new vector created by negating the component values of another vector.

Declaration

func GLKVector2Negate(_ vector: GLKVector2) -> GLKVector2

Parameters

  • vector:

    A vector.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors