We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
frameHeight = frameHeight !== undefined ? frameHeight : 24;
can be rewritten safely to:
if(frameHeight===undefined)frameHeight=24;
Benefits: -more readable -performs better (I believe) since its value will only change when needed
Sorry that I don't know the exact line number, I just read this line from this question
The text was updated successfully, but these errors were encountered:
Improved camera.setLens code as suggested in #2323.
24a6a53
Thanks!
Sorry, something went wrong.
(threejs src) Improved camera.setLens code as suggested in mrdoob#2323.
ec9c51d
No branches or pull requests
can be rewritten safely to:
Benefits:
-more readable
-performs better (I believe) since its value will only change when needed
Sorry that I don't know the exact line number, I just read this line from this question
The text was updated successfully, but these errors were encountered: