Skip to content

Docs: More JSDoc.#30631

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev1
Feb 28, 2025
Merged

Docs: More JSDoc.#30631
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev1

Conversation

@Mugen87
Copy link
Copy Markdown
Collaborator

@Mugen87 Mugen87 commented Feb 28, 2025

Related issue: -

Description

Moves src/materials to JSDoc.

@github-actions
Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.16
78.31
336.16
78.31
+0 B
+0 B
WebGPU 522.67
145.12
522.67
145.12
+0 B
+0 B
WebGPU Nodes 522.14
145.01
522.14
145.01
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.15
112.17
465.22
112.18
+67 B
+19 B
WebGPU 593.03
160.71
593.09
160.72
+67 B
+17 B
WebGPU Nodes 548.15
150.14
548.22
150.16
+67 B
+17 B

@Mugen87 Mugen87 added this to the r175 milestone Feb 28, 2025
@Mugen87 Mugen87 merged commit 008362f into mrdoob:dev Feb 28, 2025
zonkypop pushed a commit to zonkypop/three.js that referenced this pull request Feb 28, 2025
lojjic added a commit to protectwise/troika that referenced this pull request Apr 2, 2025
…ng setters

Fixes #357. Caused by mrdoob/three.js#30631 which added initializers setting customDepthMaterial and customDistanceMaterial to undefined in the Object3D constructor; this was throwing errors since we had only implemented getters for them. Added empty setters for now, though allowing custom values in the future is probably better.
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