aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Extruder.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-27 17:25:03 +0000
committerDr Scofield2008-06-27 17:25:03 +0000
commit7d55dfba8addd5c580e6c7bcf4449315428b84ed (patch)
tree8426d62dc435e54e5c7c58d2fa742a3841848727 /OpenSim/Region/Physics/Meshing/Extruder.cs
parentdr scofield's warning safari: (diff)
downloadopensim-SC_OLD-7d55dfba8addd5c580e6c7bcf4449315428b84ed.zip
opensim-SC_OLD-7d55dfba8addd5c580e6c7bcf4449315428b84ed.tar.gz
opensim-SC_OLD-7d55dfba8addd5c580e6c7bcf4449315428b84ed.tar.bz2
opensim-SC_OLD-7d55dfba8addd5c580e6c7bcf4449315428b84ed.tar.xz
dr scofield's warnings safari:
* commenting out unused variables
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Extruder.cs')
-rw-r--r--OpenSim/Region/Physics/Meshing/Extruder.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Extruder.cs b/OpenSim/Region/Physics/Meshing/Extruder.cs
index baa2d9b..ac8d81c 100644
--- a/OpenSim/Region/Physics/Meshing/Extruder.cs
+++ b/OpenSim/Region/Physics/Meshing/Extruder.cs
@@ -259,8 +259,8 @@ namespace OpenSim.Region.Physics.Meshing
259 { 259 {
260 Mesh result = new Mesh(); 260 Mesh result = new Mesh();
261 261
262 Quaternion tt = new Quaternion(); 262 // Quaternion tt = new Quaternion();
263 Vertex v2 = new Vertex(0, 0, 0); 263 // Vertex v2 = new Vertex(0, 0, 0);
264 264
265 Mesh newLayer; 265 Mesh newLayer;
266 Mesh lastLayer = null; 266 Mesh lastLayer = null;
@@ -441,8 +441,8 @@ namespace OpenSim.Region.Physics.Meshing
441 { 441 {
442 Mesh result = new Mesh(); 442 Mesh result = new Mesh();
443 443
444 Quaternion tt = new Quaternion(); 444 // Quaternion tt = new Quaternion();
445 Vertex v2 = new Vertex(0, 0, 0); 445 // Vertex v2 = new Vertex(0, 0, 0);
446 446
447 Mesh newLayer; 447 Mesh newLayer;
448 Mesh lastLayer = null; 448 Mesh lastLayer = null;
@@ -457,8 +457,8 @@ namespace OpenSim.Region.Physics.Meshing
457 if (System.Math.Abs(twistTotal) > (float)System.Math.PI * 1.5f) steps *= 2; 457 if (System.Math.Abs(twistTotal) > (float)System.Math.PI * 1.5f) steps *= 2;
458 if (System.Math.Abs(twistTotal) > (float)System.Math.PI * 3.0f) steps *= 2; 458 if (System.Math.Abs(twistTotal) > (float)System.Math.PI * 3.0f) steps *= 2;
459 459
460 double percentOfPathMultiplier = 1.0 / steps; 460 // double percentOfPathMultiplier = 1.0 / steps;
461 double angleStepMultiplier = System.Math.PI * 2.0 / steps; 461 // double angleStepMultiplier = System.Math.PI * 2.0 / steps;
462 462
463 float yPathScale = pathScaleY * 0.5f; 463 float yPathScale = pathScaleY * 0.5f;
464 float pathLength = pathCutEnd - pathCutBegin; 464 float pathLength = pathCutEnd - pathCutBegin;