diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 825e622..a57146c 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -396,9 +396,9 @@ namespace OpenSim.Region.Physics.Meshing | |||
396 | ushort uZ = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2; | 396 | ushort uZ = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2; |
397 | 397 | ||
398 | Vector3 pos = new Vector3( | 398 | Vector3 pos = new Vector3( |
399 | Utils.UInt16ToFloat(uX, min.X, max.X) * size.X, | 399 | Utils.UInt16ToFloat(uX, min.X, max.X), |
400 | Utils.UInt16ToFloat(uY, min.Y, max.Y) * size.Y, | 400 | Utils.UInt16ToFloat(uY, min.Y, max.Y), |
401 | Utils.UInt16ToFloat(uZ, min.Z, max.Z) * size.Z | 401 | Utils.UInt16ToFloat(uZ, min.Z, max.Z) |
402 | ); | 402 | ); |
403 | 403 | ||
404 | hull.Add(pos); | 404 | hull.Add(pos); |