Skip to content

Quaternion: Update epsilon in setFromUnitVectors().#31302

Merged
Mugen87 merged 2 commits into
mrdoob:devfrom
Mugen87:dev1
Jun 22, 2025
Merged

Quaternion: Update epsilon in setFromUnitVectors().#31302
Mugen87 merged 2 commits into
mrdoob:devfrom
Mugen87:dev1

Conversation

@Mugen87

@Mugen87 Mugen87 commented Jun 22, 2025

Copy link
Copy Markdown
Collaborator

Fixed #31286.

Description

Updates the epsilon value like discussion in #31286.

@github-actions

github-actions Bot commented Jun 22, 2025

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.57
78.74
337.57
78.74
+0 B
+0 B
WebGPU 556.8
154.16
556.8
154.16
+0 B
+0 B
WebGPU Nodes 556.15
154
556.15
154
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.76
113.39
468.75
113.42
-10 B
+33 B
WebGPU 632.55
171.18
632.54
171.18
-10 B
+0 B
WebGPU Nodes 587.6
160.53
587.59
160.53
-10 B
-1 B

@Mugen87 Mugen87 added this to the r178 milestone Jun 22, 2025
@Mugen87 Mugen87 merged commit 1879d67 into mrdoob:dev Jun 22, 2025
26 of 28 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.

Quaternion.setFromUnitVectors precision issues

1 participant