Skip to content

Conversation

@techcodie
Copy link

Related issue: #N/A
Description

A clear and concise description of what the problem was and how this pull request solves it.

This contribution is funded by Example

- Add itemSize validation to applyMatrix4(), applyNormalMatrix(), and transformDirection()
- These methods now warn and return early if itemSize is not 3
- Prevents silent failures and incorrect results when used with wrong itemSize
- Improves consistency with existing documentation that states these methods only work with itemSize 3
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 350.28
83
350.28
83
+0 B
+0 B
WebGPU 616.03
171
616.03
171
+0 B
+0 B
WebGPU Nodes 614.64
170.74
614.64
170.74
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 482.33
117.81
482.71
117.87
+386 B
+57 B
WebGPU 687.42
186.76
687.81
186.82
+386 B
+62 B
WebGPU Nodes 637.26
173.94
637.65
174
+386 B
+57 B

@Mugen87 Mugen87 closed this Dec 2, 2025
Repository owner locked as spam and limited conversation to collaborators Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants