3 ms·
If you want to optimize this you probably want to calculate the biggest distance from a center point to the edge of a complex object. Then include these values
by punnerud 3y ago
If you want to optimize this you probably want to calculate the biggest distance from a center point to the edge of a complex object.
Then include these values into a database with index, so it’s super fast to check if you need to run the formulas or not.
Often have to do this if you want to calculate if some objects is colliding/intersecting on the surface of the earth.