diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Extruder.cs | 12 |
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; |