aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-08 11:44:27 +0000
committerTeravus Ovares2008-02-08 11:44:27 +0000
commit7d77fa6a9d992a52497c1a10cd0ef9c7045a3408 (patch)
tree40810929c009eeaa72de234d57c2b384f661174b /OpenSim
parent* This update adds limited support for Cylinder meshed prim in the Meshmerize... (diff)
downloadopensim-SC-7d77fa6a9d992a52497c1a10cd0ef9c7045a3408.zip
opensim-SC-7d77fa6a9d992a52497c1a10cd0ef9c7045a3408.tar.gz
opensim-SC-7d77fa6a9d992a52497c1a10cd0ef9c7045a3408.tar.bz2
opensim-SC-7d77fa6a9d992a52497c1a10cd0ef9c7045a3408.tar.xz
* Okay, fixed the path cut offset, however the inner wall isn't properly 'cut' from the hull, so slightly better support, but still limited.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index e9997a0..a420c0b 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -415,9 +415,9 @@ namespace OpenSim.Region.Physics.Meshing
415 { 415 {
416 double fProfileBeginAngle = profileBegin / 50000.0 * 360.0; 416 double fProfileBeginAngle = profileBegin / 50000.0 * 360.0;
417 // In degree, for easier debugging and understanding 417 // In degree, for easier debugging and understanding
418 fProfileBeginAngle -= (90.0 + 45.0); // for some reasons, the SL client counts from the corner -X/-Y 418 //fProfileBeginAngle -= (90.0 + 45.0); // for some reasons, the SL client counts from the corner -X/-Y
419 double fProfileEndAngle = 360.0 - profileEnd / 50000.0 * 360.0; // Pathend comes as complement to 1.0 419 double fProfileEndAngle = 360.0 - profileEnd / 50000.0 * 360.0; // Pathend comes as complement to 1.0
420 fProfileEndAngle -= (90.0 + 45.0); 420 //fProfileEndAngle -= (90.0 + 45.0);
421 if (fProfileBeginAngle < fProfileEndAngle) 421 if (fProfileBeginAngle < fProfileEndAngle)
422 fProfileEndAngle -= 360.0; 422 fProfileEndAngle -= 360.0;
423 423