Function
Vector.DistanceSquared
Return the squared distance of 2 vectors
Syntax
my_vector:DistanceSquared(other)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other
|
Vector | — | The vector to get the squared distance to |
Returns
- number The squared distance between the vectors