Returns the distance between two vectors.
If no topology is given, diagonal distance is sqrt(2). If topology is four, diagonal distance is 2. If topology is eight, diagonal distance is 1.
The starting Vector2.
The ending Vector2.
Can use "four" or "eight" for non-cartesian distances.
Generated using TypeDoc
Contains math for common vector operations.