---
title: "GLKVector3Distance(_:_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkvector3distance(_:_:)"
---

# GLKVector3Distance(_:_:)

Returns the distance between two points.

## Declaration

```swift
func GLKVector3Distance(_ vectorStart: GLKVector3, _ vectorEnd: GLKVector3) -> Float
```

## Parameters

- `vectorStart`: A vector providing the coordinates of the starting point.
- `vectorEnd`: A vector providing the coordinates of the ending point.

## Return Value

Return Value The distance between the two points.

## See Also

### Retrieving Information About a Vector

- [GLKVector3Length(_:)](glkit/glkvector3length(_:).md)
