Vector2::distance()
Calculates the distance to another vector.
Syntax
Java
.distance(v)
Parameters
| Name | Data Type | Description |
|---|---|---|
| v | Vector2 | a vector |
Return
double

Calculates the distance to another vector.
.distance(v)
| Name | Data Type | Description |
|---|---|---|
| v | Vector2 | a vector |
double