diff options
author | Teravus Ovares | 2008-05-29 20:50:38 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-29 20:50:38 +0000 |
commit | 45c652390472626084738383d465911d8d9d507c (patch) | |
tree | 72f9952cae128fc62ae17cf5fcac6fe16fc11f39 /OpenSim | |
parent | * Applying Dahlia's interim path curve patch. it adds initial support for so... (diff) | |
download | opensim-SC-45c652390472626084738383d465911d8d9d507c.zip opensim-SC-45c652390472626084738383d465911d8d9d507c.tar.gz opensim-SC-45c652390472626084738383d465911d8d9d507c.tar.bz2 opensim-SC-45c652390472626084738383d465911d8d9d507c.tar.xz |
* Fixes a few taper/top-sheer situations that were previously having issues.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Extruder.cs | 4 |
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 | { |