Normand Briere
2019-07-25 7058eef32e524cae08a7373d8bc1061e373b223c
BoundaryRep.java
....@@ -1997,7 +1997,9 @@
19971997 if (v.vertexlinks == null)
19981998 continue;
19991999
2000
- if (v.weights != null && v.weights[j] < 0.001 * v.totalweight) // == 0)
2000
+ // Warning: a bit faster but dangerous
2001
+ if (v.weights != null && v.weights[j] == 0)
2002
+ // < 0.001 * v.totalweight)
20012003 {
20022004 //testweight += v.weights[j-1];
20032005 continue;
....@@ -4001,7 +4003,7 @@
40014003 NormalGenerator ng;
40024004
40034005 if (crease)
4004
- ng = new NormalGenerator(Math.PI/6); // default is 44 degrees (or Math.PI/3); // /4);
4006
+ ng = new NormalGenerator(Math.PI/4); // default is 44 degrees (or Math.PI/3); // /4);
40054007 else
40064008 ng = new NormalGenerator(Math.PI); // (Math.PI / 3); // /4);
40074009