Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pointer move attempts to intersect geometries causing intense lag
After adding a OrbitControls to the canvas and loading a relatively big STL file (50mb). Performance is really bad when the pointer is moving over the geometry. Using Chrome's performance diagnostics tool, I found out that happens because this library attempts to intersect the geometry the pointer is on every pointer move event. Not sure if this is the correct solution, but it cancels the intersection calculations on pointer move.
- Loading branch information