You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two spheres there, which are clearly colliding when we check a.distance(b), the result being 9.67 which is less than the combined radii of the two spheres of 12.56.
However, intersectSphereSphere returns false.
The neither sphere in this case is fully enveloping the other; it is a clear case of a straightforward intersection:
The text was updated successfully, but these errors were encountered:
Hey @princec, Thanks for the report!
And sorry about that. There was indeed a small error in the code. I even mentioned the source of the implementation but failed to type it off correctly. :/
It is now fixed in 1.10.4-SNAPSHOT. Please use that if you can, for the time being.
This code snippet illustrates something weird behind intersectSphereSphere in JOML1.10.1 (haven't checked other versions).
There are two spheres there, which are clearly colliding when we check a.distance(b), the result being 9.67 which is less than the combined radii of the two spheres of 12.56.
However, intersectSphereSphere returns false.
The neither sphere in this case is fully enveloping the other; it is a clear case of a straightforward intersection:
The text was updated successfully, but these errors were encountered: