diff options
author | Dahlia Trimble | 2008-09-01 06:00:07 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-09-01 06:00:07 +0000 |
commit | 9cf9c0869695827ac18f06a181f344b266b7fad8 (patch) | |
tree | 15cfdc868f4ccbe83cb49fde5b3a6c618da483ce /OpenSim/Region/Physics | |
parent | Attempt to fix an issue I havebeen seeing, where asset server failure (diff) | |
download | opensim-SC-9cf9c0869695827ac18f06a181f344b266b7fad8.zip opensim-SC-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.gz opensim-SC-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.bz2 opensim-SC-9cf9c0869695827ac18f06a181f344b266b7fad8.tar.xz |
Improvement in mesh accuracy in X Top Shear parameter for circular path prims
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 |
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; |