There is no built-in method for Offset
like Point.distanceTo(Point<T> other)
.
(offsetA - offsetB).distance
Offsets can be thought of as points or vectors. Arithmetic operators are overloaded for Offset to support vector operations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With