mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
If a point at squared distance 0 is found, no closer point can exist, so return it immediately instead of scanning the rest of the points. The returned point is the same as before, since the first point with the smallest distance was already the one kept.