Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to three.js 0.120 and convert mouse events to pointer events #54

Open
robertgz opened this issue Nov 4, 2023 · 0 comments
Open

Comments

@robertgz
Copy link
Owner

robertgz commented Nov 4, 2023

Update three.js from 0.119 to 0.120 or a higher version.

This application uses mouse events in MouseClickComponent and MouseDragComponent.

When three.js is updated to 0.120 there are some small changes in the interaction with the mouse. This should be resolved by converting the mouse events to pointer events. The need to switch to Pointer Events is noted in the three.js migration guide.
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r119--r120

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

No branches or pull requests

1 participant