-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Cleanup new Color/Matrix()
#26024
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
Cleanup new Color/Matrix()
#26024
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
|
Seems like this breaks something... I will test it locally. |
|
Please consider to update not too many things at once. |
|
OK, reverted ShaderNode changes. |
| volume.spacing = [ spacingX, spacingY, spacingZ ]; | ||
|
|
||
|
|
||
| // Create IJKtoRAS matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this comment be moved too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no, because transitionMatrix is a part of building IJKtoRAS matrix.
|
There are too many uncertainties in this PR and I don't think the new code styles are better then the previous ones. In no way this type of "clean-up" PR should require such an in-depth review. I would say it's better to close the PR. |
|
There was only one "uncertainty" in this PR (assigning the same object to two fields). I don't see why it can't be merged? |
|
Can we merge this PR? |
|
Same as #26317 (comment). |
Related issue: #26021
Description
Some clean up.