aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorDahlia Trimble2008-09-01 06:00:07 +0000
committerDahlia Trimble2008-09-01 06:00:07 +0000
commit9cf9c0869695827ac18f06a181f344b266b7fad8 (patch)
tree15cfdc868f4ccbe83cb49fde5b3a6c618da483ce /OpenSim/Region/Physics
parentAttempt to fix an issue I havebeen seeing, where asset server failure (diff)
downloadopensim-SC_OLD-9cf9c0869695827ac18f06a181f344b266b7fad8.zip
opensim-SC_OLD-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.gz
opensim-SC_OLD-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.bz2
opensim-SC_OLD-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.xz
Improvement in mesh accuracy in X Top Shear parameter for circular path prims
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index 58bb82e..26b3f02 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -823,7 +823,7 @@ namespace OpenSim.Region.Physics.Meshing
823 823
824 float xOffset = 0.5f * (skewStart + totalSkew * percentOfAngles); 824 float xOffset = 0.5f * (skewStart + totalSkew * percentOfAngles);
825 825
826 xOffset += (float)Math.Sin(angle) * this.topShearX * 0.45f; 826 xOffset += (float)Math.Sin(angle) * this.topShearX * 0.225f;
827 float yOffset = (float)Math.Cos(angle) * (0.5f - yPathScale) * radiusScale; 827 float yOffset = (float)Math.Cos(angle) * (0.5f - yPathScale) * radiusScale;
828 828
829 float zOffset = (float)Math.Sin(angle + this.topShearY * 0.9f) * (0.5f - yPathScale) * radiusScale; 829 float zOffset = (float)Math.Sin(angle + this.topShearY * 0.9f) * (0.5f - yPathScale) * radiusScale;