Improvement in mesh accuracy in X Top Shear parameter for circular path prims

0.6.0-stable
Dahlia Trimble 2008-09-01 06:00:07 +00:00
parent 805deb5a9b
commit 9cf9c08696
1 changed files with 1 additions and 1 deletions

View File

@ -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;