From f94e192b860c5719957e0a8be6d9ad0f6e5bedb2 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Sat, 6 Jun 2009 08:41:27 +0000 Subject: some code cleanup test commit with cygwin svn --- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 --- 1 file changed, 3 deletions(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 4cf1d70..56534cf 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs @@ -655,7 +655,6 @@ namespace PrimMesher this.numOuterVerts = angles.angles.Count; // flag to create as few triangles as possible for 3 or 4 side profile - //bool simpleFace = (sides < 5 && !(hasHollow || hasProfileCut)); bool simpleFace = (sides < 5 && !hasHollow && !hasProfileCut); if (hasHollow) @@ -715,7 +714,6 @@ namespace PrimMesher for (int i = 0; i < numAngles; i++) { - //int iNext = i == numAngles ? i + 1 : 0; angle = angles.angles[i]; newVert.X = angle.X * xScale; newVert.Y = angle.Y * yScale; @@ -1730,7 +1728,6 @@ namespace PrimMesher if (angle <= startAngle + .01f || angle >= endAngle - .01f) isEndLayer = true; - //Profile newLayer = profile.Copy(isEndLayer && needEndFaces); Profile newLayer = profile.Copy(); float xProfileScale = (1.0f - Math.Abs(this.skew)) * this.holeSizeX; -- cgit v1.1