In the following example, the plane obviously intersects with the box, but the function intersectsPlane returns false.
example
I find that adding two negative sign before both of the plane.constant can fix the bug.
Line 387
in
c570b9b
Also, I think the definition of the constant of the plane is not distinct, which cause the bug.
Three.js version
- Dev
- r96
- …
Browser
- All of them
OS
- All of them
The test was wrong, too. Fixed in #14836