This commit is contained in:
be5invis 2023-05-03 18:22:52 -07:00
parent 6ab33a385a
commit 29328b6933
12 changed files with 253 additions and 181 deletions

View file

@ -118,6 +118,7 @@ class NormalRectifier {
if (isTangentValid(d)) {
this.m_biKnots[0].origTangent = d;
} else {
console.error(this.m_biKnots);
throw new Error("NaN angle detected.");
}
}
@ -126,6 +127,7 @@ class NormalRectifier {
if (isTangentValid(d)) {
this.m_biKnots[this.m_nKnotsProcessed].origTangent = d;
} else {
console.error(this.m_biKnots);
throw new Error("NaN angle detected.");
}
}