aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDahlia Trimble2008-12-09 08:17:31 +0000
committerDahlia Trimble2008-12-09 08:17:31 +0000
commit44d133da662594f4ea35438a354377e70df6864b (patch)
treeb658fc6098d801e5cab5674dc9f942bcdb82717d
parent* Added primitive exception logging capabilities. (diff)
downloadopensim-SC_OLD-44d133da662594f4ea35438a354377e70df6864b.zip
opensim-SC_OLD-44d133da662594f4ea35438a354377e70df6864b.tar.gz
opensim-SC_OLD-44d133da662594f4ea35438a354377e70df6864b.tar.bz2
opensim-SC_OLD-44d133da662594f4ea35438a354377e70df6864b.tar.xz
clean up some old debugging code
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs43
1 files changed, 0 insertions, 43 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index a65d0f4..92aae1a 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -383,48 +383,5 @@ minSizeForComplexMesh.ToString() + " - creating simple bounding box" );
383 return mesh; 383 return mesh;
384 } 384 }
385 385
386
387
388#if SPAM
389 // please dont comment this out until I'm done with this module - dahlia
390 private static void reportPrimParams(string name, PrimitiveBaseShape primShape)
391 {
392
393 float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f;
394 float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f;
395 float pathBegin = (float)primShape.PathBegin * 2.0e-5f;
396 float pathEnd = 1.0f - (float)primShape.PathEnd * 2.0e-5f;
397 float pathScaleX = (float)(primShape.PathScaleX - 100) * 0.01f;
398 float pathScaleY = (float)(primShape.PathScaleY - 100) * 0.01f;
399
400 float profileBegin = (float)primShape.ProfileBegin * 2.0e-5f;
401 float profileEnd = 1.0f - (float)primShape.ProfileEnd * 2.0e-5f;
402 float profileHollow = (float)primShape.ProfileHollow * 2.0e-5f;
403
404 Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n"
405 + "Name.............: " + name.ToString() + "\n"
406 + "HollowShape......: " + primShape.HollowShape.ToString() + "\n"
407 + "PathBegin........: " + primShape.PathBegin.ToString() + " " + pathBegin.ToString() + "\n"
408 + "PathCurve........: " + primShape.PathCurve.ToString() + "\n"
409 + "PathEnd..........: " + primShape.PathEnd.ToString() + " " + pathEnd.ToString() + "\n"
410 + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n"
411 + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n"
412 + "PathScaleX.......: " + primShape.PathScaleX.ToString() + " " + pathScaleX.ToString() + "\n"
413 + "PathScaleY.......: " + primShape.PathScaleY.ToString() + " " + pathScaleY.ToString() + "\n"
414 + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n"
415 + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n"
416 + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n"
417 + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n"
418 + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n"
419 + "PathTwist........: " + primShape.PathTwist.ToString() + "\n"
420 + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n"
421 + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + " " + profileBegin.ToString() + "\n"
422 + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n"
423 + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + " " + profileEnd.ToString() + "\n"
424 + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + " " + profileHollow.ToString() + "\n"
425 + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n"
426 );
427 }
428#endif
429 } 386 }
430} 387}