- CYRILLIC CAPITAL LETTER DZZE (`U+A688`) (#1799).
  - CYRILLIC SMALL LETTER DZZE (`U+A689`) (#1799).
  - MODIFIER LETTER CYRILLIC SMALL DZZE (`U+1E04A`) (#1799).
This commit is contained in:
be5invis 2023-06-26 22:07:20 -07:00
parent 6edc915e6c
commit 088b555749
30 changed files with 200 additions and 123 deletions

View file

@ -118,8 +118,8 @@ class NormalRectifier {
if (isTangentValid(d)) {
this.m_biKnots[0].origTangent = d;
} else {
console.error(this.m_biKnots);
throw new Error("NaN angle detected.");
this.m_biKnots[0].origTangent = { x: 0, y: 0 };
// throw new Error("NaN angle detected.");
}
}
if (this.m_biKnots[this.m_nKnotsProcessed]) {
@ -127,8 +127,8 @@ 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.");
this.m_biKnots[this.m_nKnotsProcessed].origTangent = { x: 0, y: 0 };
// throw new Error("NaN angle detected.");
}
}
this.m_nKnotsProcessed += 1;