diff options
author | Dahlia Trimble | 2009-06-06 08:41:27 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-06-06 08:41:27 +0000 |
commit | f94e192b860c5719957e0a8be6d9ad0f6e5bedb2 (patch) | |
tree | 758a7e4e6a9bb454ddbec2c15590b2f1da38459a /OpenSim/Region/Physics/Meshing/PrimMesher.cs | |
parent | * minor: tiny tweak just to trigger another panda build (diff) | |
download | opensim-SC_OLD-f94e192b860c5719957e0a8be6d9ad0f6e5bedb2.zip opensim-SC_OLD-f94e192b860c5719957e0a8be6d9ad0f6e5bedb2.tar.gz opensim-SC_OLD-f94e192b860c5719957e0a8be6d9ad0f6e5bedb2.tar.bz2 opensim-SC_OLD-f94e192b860c5719957e0a8be6d9ad0f6e5bedb2.tar.xz |
some code cleanup
test commit with cygwin svn
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 |
1 files changed, 0 insertions, 3 deletions
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 | |||
655 | this.numOuterVerts = angles.angles.Count; | 655 | this.numOuterVerts = angles.angles.Count; |
656 | 656 | ||
657 | // flag to create as few triangles as possible for 3 or 4 side profile | 657 | // flag to create as few triangles as possible for 3 or 4 side profile |
658 | //bool simpleFace = (sides < 5 && !(hasHollow || hasProfileCut)); | ||
659 | bool simpleFace = (sides < 5 && !hasHollow && !hasProfileCut); | 658 | bool simpleFace = (sides < 5 && !hasHollow && !hasProfileCut); |
660 | 659 | ||
661 | if (hasHollow) | 660 | if (hasHollow) |
@@ -715,7 +714,6 @@ namespace PrimMesher | |||
715 | 714 | ||
716 | for (int i = 0; i < numAngles; i++) | 715 | for (int i = 0; i < numAngles; i++) |
717 | { | 716 | { |
718 | //int iNext = i == numAngles ? i + 1 : 0; | ||
719 | angle = angles.angles[i]; | 717 | angle = angles.angles[i]; |
720 | newVert.X = angle.X * xScale; | 718 | newVert.X = angle.X * xScale; |
721 | newVert.Y = angle.Y * yScale; | 719 | newVert.Y = angle.Y * yScale; |
@@ -1730,7 +1728,6 @@ namespace PrimMesher | |||
1730 | if (angle <= startAngle + .01f || angle >= endAngle - .01f) | 1728 | if (angle <= startAngle + .01f || angle >= endAngle - .01f) |
1731 | isEndLayer = true; | 1729 | isEndLayer = true; |
1732 | 1730 | ||
1733 | //Profile newLayer = profile.Copy(isEndLayer && needEndFaces); | ||
1734 | Profile newLayer = profile.Copy(); | 1731 | Profile newLayer = profile.Copy(); |
1735 | 1732 | ||
1736 | float xProfileScale = (1.0f - Math.Abs(this.skew)) * this.holeSizeX; | 1733 | float xProfileScale = (1.0f - Math.Abs(this.skew)) * this.holeSizeX; |