`Point2<T>.Distance` returns a `Point2<T>`, which represents the per dimension stepping which then a

Point2<T>.Distance returns a Point2<T>, which represents the per dimension stepping
which then allows you to do the correct and efficient thing for integers

and for floating-point, you can convert to Vector2<T> to get it in terms of length (at the same total cost)
or to do per dimension stepping, which is incredibly useful for interpolation (especially with physics)
Was this page helpful?