Skip to content

Conversation

@gkjohnson
Copy link
Collaborator

@gkjohnson gkjohnson commented Sep 17, 2020

Adds a threshold raycaster param like Lines uses so line segments 2 can be expanded by a pixel width for raycasting.

const raycaster = new Raycaster();
raycaster.params.Line2 = { threshold: 2 };

// raycast...

ping @WestLangley

@WestLangley WestLangley self-requested a review September 18, 2020 22:51
@WestLangley WestLangley added this to the r121 milestone Sep 18, 2020
@mrdoob mrdoob merged commit 07d8167 into mrdoob:dev Sep 29, 2020
@mrdoob
Copy link
Owner

mrdoob commented Sep 29, 2020

Thanks!

@gkjohnson gkjohnson deleted the patch-2 branch September 29, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants