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

Constants: Remove deprecated code. #27480

Merged

Conversation

CodyJasonBennett
Copy link
Contributor

Related issue: https://github.com/mrdoob/three.js/pull/25239/files#r1062773019

Description

Removes TwoPassDoubleSide which was deprecated since r147 in favor of Material.forceSinglePass with #25239.

Removes `TwoPassDoubleSide` in favor of `Material.forceSinglePass` (mrdoob#25239).
@Mugen87 Mugen87 added this to the r161 milestone Dec 31, 2023
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
671 kB (166.8 kB) 671 kB (166.8 kB) -30 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
451.9 kB (109.8 kB) 451.9 kB (109.8 kB) +0 B
@Mugen87 Mugen87 merged commit 1d3895d into mrdoob:dev Dec 31, 2023
12 checks passed
@CodyJasonBennett CodyJasonBennett deleted the twopassdoubleside-r147-deprecate branch December 31, 2023 14:13
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
Removes `TwoPassDoubleSide` in favor of `Material.forceSinglePass` (mrdoob#25239).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants