We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 far
It should be:
if (sign(d - (C.r + D.r)) > 0) return {}; // too far
Two circles are too far to intersect if the distance between their centers (in our case $d$) is bigger than the sum of the radii $r_0$ and $r_1$.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is a bug (missing brackets) in the line where it checks if two circles are too far to even intersect.
The line is:
It should be:
Two circles are too far to intersect if the distance between their centers (in our case$d$ ) is bigger than the sum of the radii $r_0$ and $r_1$ .
The text was updated successfully, but these errors were encountered: