aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-29 20:50:38 +0000
committerTeravus Ovares2008-05-29 20:50:38 +0000
commit45c652390472626084738383d465911d8d9d507c (patch)
tree72f9952cae128fc62ae17cf5fcac6fe16fc11f39 /OpenSim/Region/Physics
parent* Applying Dahlia's interim path curve patch. it adds initial support for so... (diff)
downloadopensim-SC_OLD-45c652390472626084738383d465911d8d9d507c.zip
opensim-SC_OLD-45c652390472626084738383d465911d8d9d507c.tar.gz
opensim-SC_OLD-45c652390472626084738383d465911d8d9d507c.tar.bz2
opensim-SC_OLD-45c652390472626084738383d465911d8d9d507c.tar.xz
* Fixes a few taper/top-sheer situations that were previously having issues.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/Extruder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Extruder.cs b/OpenSim/Region/Physics/Meshing/Extruder.cs
index 480ffda..154a423 100644
--- a/OpenSim/Region/Physics/Meshing/Extruder.cs
+++ b/OpenSim/Region/Physics/Meshing/Extruder.cs
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Physics.Meshing
92 92
93 //Push the top of the object over by the Top Shear amount 93 //Push the top of the object over by the Top Shear amount
94 v.X += pushX * size.X; 94 v.X += pushX * size.X;
95 v.Y += pushY * size.X; 95 v.Y += pushY * size.Y;
96 96
97 if (twistTop != 0) 97 if (twistTop != 0)
98 { 98 {
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Physics.Meshing
118 v.Y *= (size.Y * ((taperTopFactorY + taperBotFactorY) / 2)); 118 v.Y *= (size.Y * ((taperTopFactorY + taperBotFactorY) / 2));
119 119
120 v.X += (pushX / 2) * size.X; 120 v.X += (pushX / 2) * size.X;
121 v.Y += (pushY / 2) * size.X; 121 v.Y += (pushY / 2) * size.Y;
122 //Push the top of the object over by the Top Shear amount 122 //Push the top of the object over by the Top Shear amount
123 if (twistMid != 0) 123 if (twistMid != 0)
124 { 124 {