Skip to content

Docs: Fix incorrect default values in JSDoc. - #35034

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
ihsandeniz:docs-jsdoc-defaults
Oct 15, 2026
Merged

Mugen87 merged 1 commit into
mrdoob:devfrom
ihsandeniz:docs-jsdoc-defaults

Conversation

@ihsandeniz

Copy link
Copy Markdown
Contributor

Related issue: -

Description

Five JSDoc blocks list a default that differs from the actual default in the code. The code is unchanged; only the docs are corrected.

File JSDoc said Code
DepthTexture magFilter/minFilter = LinearFilter NearestFilter
PolarGridHelper rings = 16 8
FirstPersonControls verticalMax = 0 Math.PI
VertexTangentsHelper color = 0xff0000 0x00ffff
CurveExtras (DecoratedTorusKnot4a/4b/5a/5c) scale = 1 40

@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build including core, minified and gzipped.

Before After Diff
Core 391.30
102.65
391.30
102.65
+0 B
+0 B
WebGL 777.73
194.24
777.73
194.24
+0 B
+0 B
WebGPU 1099.37
296.07
1099.37
296.07
+0 B
+0 B
WebGPU Nodes 1097.32
295.71
1097.32
295.71
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 518.57
124.62
518.57
124.62
+0 B
+0 B
WebGPU 777.61
208.19
777.61
208.19
+0 B
+0 B
WebGPU Nodes 724.73
195.00
724.73
195.00
+0 B
+0 B

@Mugen87 Mugen87 added this to the r187 milestone Oct 15, 2026
@Mugen87
Mugen87 merged commit 324071b into mrdoob:dev Oct 15, 2026
10 checks passed
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.

2 participants