Represents 2D points and vectors.
Returns the length of this vector.
The length is calculated by the square root of
(x * x + y * y)
Returns a copy of this vector with length
Returns the squared length of this vector.
If you use vector lengths to compare distances, squared lengths are more performant and preferred to use.
Generated using TypeDoc