Skip to content

Commit

Permalink
Reduce normal tolerance for Weld (#1035)
Browse files Browse the repository at this point in the history
* Reduce normal tolerance for Weld

Fix #1028
Chose 0.01 as a default tolerance which corresponds to ±arcsin(0.01)/2 = ±0.286°.

* Loosen normal tolerance to 0.05
  • Loading branch information
rotu authored Jul 29, 2023
1 parent 037db3f commit 9525344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/functions/src/weld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Tolerance = {
DEFAULT: 0.0001,
TEXCOORD: 0.0001, // [0, 1]
COLOR: 0.01, // [0, 1]
NORMAL: 0.5, // [-1, 1]
NORMAL: 0.05, // [-1, 1]
JOINTS: 0.0, // [0, ∞]
WEIGHTS: 0.01, // [0, ∞]
};
Expand Down

0 comments on commit 9525344

Please sign in to comment.