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
We use Line2 for both screen space and world space lines.
Unfortunately, we need to have different thresholds for pixel / world units. Because for example, a threshold of 10 looks quite small, but 10 world units is quite big (of course depending on the camera distance).
Description
We use Line2 for both screen space and world space lines.
Unfortunately, we need to have different thresholds for pixel / world units. Because for example, a threshold of 10 looks quite small, but 10 world units is quite big (of course depending on the camera distance).
Solution
Something like:
In the
raycast
function ofLineSegments2.js
I'm happy to make a PR, just want to get a thumbs up before I do it.
Alternatives
For now, I'll make a change to three.js locally and use patch-package to apply it.
Additional context
No response
The text was updated successfully, but these errors were encountered: