Make first stage of dispiro expansion cachable

This commit is contained in:
be5invis 2021-07-13 20:55:39 -07:00
parent e7627df03c
commit 70f41352c1
9 changed files with 102 additions and 115 deletions

View file

@ -153,6 +153,7 @@ class DiSpiroGeometry extends GeometryBase {
this.m_closed,
this.m_biKnots.map(k => k.clone())
);
expander.initializeNormals();
expander.iterateNormals();
expander.iterateNormals();
this.m_cachedExpansionResults = expander.expand();