-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
There is a bug (missing brackets) in the line where it checks if two circles are too far to even intersect.
The line is:
if (sign(d - C.r + D.r) > 0) return {}; // too farIt should be:
if (sign(d - (C.r + D.r)) > 0) return {}; // too farTwo circles are too far to intersect if the distance between their centers (in our case
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels