remove duplicate hull scaling

user_profiles
dahlia 2013-05-18 11:15:05 -07:00
parent fa8f5bafb2
commit 477bee6468
1 changed files with 3 additions and 3 deletions

View File

@ -396,9 +396,9 @@ namespace OpenSim.Region.Physics.Meshing
ushort uZ = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2; ushort uZ = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2;
Vector3 pos = new Vector3( Vector3 pos = new Vector3(
Utils.UInt16ToFloat(uX, min.X, max.X) * size.X, Utils.UInt16ToFloat(uX, min.X, max.X),
Utils.UInt16ToFloat(uY, min.Y, max.Y) * size.Y, Utils.UInt16ToFloat(uY, min.Y, max.Y),
Utils.UInt16ToFloat(uZ, min.Z, max.Z) * size.Z Utils.UInt16ToFloat(uZ, min.Z, max.Z)
); );
hull.Add(pos); hull.Add(pos);