-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
ArcballControls is using .clone() unnecessarily #22823
Comments
Are there any that happen every frame? |
Every time the mouse moves. If the library is consistent in avoiding that pattern, then you don't have to worry about it. |
There is still more to be done here... |
There is still more to be done here... anyone interested? |
I've looked into this issue multiple times but I'm afraid it can only be solved by rewriting major parts of the class. The problem is that certain methods like I'm not sure its worth to invest a lot of time in this class unless a user reports performance issues. |
This is red flag, then. The OP is not responding, and in addition, four devs have demonstrated little interest in pursuing it further. If this code is not going to be maintained, it should be hosted elsewhere by someone willing to take responsibility for it. |
The three.js convention is to create single instances and reuse them.
The text was updated successfully, but these errors were encountered: