dst2
Returns the squared distance between this and the other vector
This method is faster than dst because it avoids calculating a square root. It is useful for comparisons, but not for getting exact distance, as the return value is the square of the actual distance.
Returns the squared distance between this and the (otherX, otherY) vector
This method is faster than dst because it avoids calculating a square root. It is useful for comparisons, but not for getting exact distance, as the return value is the square of the actual distance.