Skip to content

fix(core): text3d extrusion uses depth, not the removed height alias - #76

Merged
hblee12294 merged 1 commit into
mainfrom
fix/text3d-depth-param
Aug 8, 2026
Merged

fix(core): text3d extrusion uses depth, not the removed height alias#76
hblee12294 merged 1 commit into
mainfrom
fix/text3d-depth-param

Conversation

@hblee12294

Copy link
Copy Markdown
Member

TextGeometry on current three (r183, the CDN pin) ignores the legacy height option — the extrusion silently falls back to the default depth of 50. With bbox normalization (norm = 1/maxDim) that shrinks the glyph face to a sliver: 3D text rendered as a thin stick, and rotating revealed a long rod (the 50-deep extrusion).

One-word fix: pass depth. Verified against three r182/r183: height: 0.25 → z extent 50.04; depth: 0.25 → 0.29.

🤖 Generated with Claude Code

@hblee12294
hblee12294 merged commit bdb6a0a into main Aug 8, 2026
3 checks passed
@hblee12294
hblee12294 deleted the fix/text3d-depth-param branch August 8, 2026 22:22
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