Contents

GLKVector2Project(_:_:)

Returns a new vector created by projecting a vector onto another vector

Declaration

func GLKVector2Project(_ vectorToProject: GLKVector2, _ projectionVector: GLKVector2) -> GLKVector2

Parameters

  • vectorToProject:

    The vector being projected.

  • projectionVector:

    The projection vector.

Return Value

A new vector.

See Also

Mathematical Operations Performed on Vectors