From 9cf9c0869695827ac18f06a181f344b266b7fad8 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Mon, 1 Sep 2008 06:00:07 +0000 Subject: [PATCH] Improvement in mesh accuracy in X Top Shear parameter for circular path prims --- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 58bb82ebf6..26b3f02b27 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs @@ -823,7 +823,7 @@ namespace OpenSim.Region.Physics.Meshing float xOffset = 0.5f * (skewStart + totalSkew * percentOfAngles); - xOffset += (float)Math.Sin(angle) * this.topShearX * 0.45f; + xOffset += (float)Math.Sin(angle) * this.topShearX * 0.225f; float yOffset = (float)Math.Cos(angle) * (0.5f - yPathScale) * radiusScale; float zOffset = (float)Math.Sin(angle + this.topShearY * 0.9f) * (0.5f - yPathScale) * radiusScale;