Contents

GLKVector4Distance(_:_:)

Returns the distance between two points.

Declaration

func GLKVector4Distance(_ vectorStart: GLKVector4, _ vectorEnd: GLKVector4) -> Float

Parameters

  • vectorStart:

    A vector providing the coordinates of the starting point.

  • vectorEnd:

    A vector providing the coordinates of the ending point.

Return Value

The distance between the two points.

See Also

Retrieving Information About a Vector