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

This commit is contained in:
Dahlia Trimble
2008-09-12 19:42:26 +00:00
parent 4b7e287ab2
commit febb781779

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