Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const rayHelper = new RayHelper(); //!<<< Add this line
- renderer.domElement.addEventListener( 'dblclick', function( event ) {
- rayHelper.detach( scene ); //!<<< Add this line
- // ... other code snippet
- rayHelper.attach( raycaster, scene ); //!<<< Add this line
- // ... other code snippet
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement