remove hidden faces inside prim meshes to improve memory use and startup time

0.6.0-stable
Dahlia Trimble 2008-09-12 19:42:26 +00:00
parent 4b7e287ab2
commit febb781779
1 changed files with 6 additions and 2 deletions

View File

@ -821,7 +821,9 @@ angles24 = [
newLayer.AddValue2Faces(coordsLen);
this.coords.AddRange(newLayer.coords);
this.faces.AddRange(newLayer.faces);
if (percentOfPath <= this.pathCutBegin || percentOfPath >= this.pathCutEnd)
this.faces.AddRange(newLayer.faces);
// fill faces between layers
@ -1009,7 +1011,9 @@ angles24 = [
newLayer.AddValue2Faces(coordsLen);
this.coords.AddRange(newLayer.coords);
this.faces.AddRange(newLayer.faces);
if (angle <= startAngle || angle >= endAngle)
this.faces.AddRange(newLayer.faces);
// fill faces between layers