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

THREE.Legacy.js: Move deprecated propeties and methods to classes. #24040

Merged
merged 2 commits into from
May 11, 2022

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 10, 2022

Related issue: #24006

Description

This PR moves legacy properties and methods to classes instead of keeping them in THREE.Legacy.js.

Deprecated code is marked with the @deprecated annotation. By searching for @deprecated in the src directory, you quickly see all legacy code sections and the respective release when they were removed.

@mrdoob mrdoob added this to the r141 milestone May 11, 2022
@mrdoob mrdoob merged commit 5d80ea1 into mrdoob:dev May 11, 2022
@mrdoob
Copy link
Owner

mrdoob commented May 11, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…rdoob#24040)

* THREE.Legacy.js: Move deprecated propeties and methods to classes.

* WebGLRenderer: Make gammaFactor configurable.
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.

None yet

3 participants