Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jul 25, 2025

Related issue: #31497 (comment)

Description

Add .setSize().

@sunag sunag added this to the r179 milestone Jul 25, 2025
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.37
78.9
338.37
78.9
+0 B
+0 B
WebGPU 560.72
155.17
561.14
155.23
+428 B
+58 B
WebGPU Nodes 559.64
154.96
559.75
154.99
+114 B
+32 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 469.75
113.6
469.75
113.6
+0 B
+0 B
WebGPU 635.88
172.08
635.88
172.08
+0 B
+0 B
WebGPU Nodes 590.53
161.32
590.53
161.32
+0 B
+0 B

@sunag sunag marked this pull request as ready for review July 25, 2025 14:36
@sunag sunag merged commit a4d93ef into mrdoob:dev Jul 25, 2025
9 checks passed
@sunag sunag deleted the dev-add-resize branch July 25, 2025 14:37
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.

1 participant