use a bit more complex mesh key identifier, plus a bug fix

This commit is contained in:
UbitUmarov
2012-08-07 17:42:29 +01:00
parent df2f9b1885
commit eef6bb97c0
3 changed files with 96 additions and 29 deletions

View File

@@ -27,6 +27,7 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using OpenSim.Framework;
using OpenMetaverse;
@@ -56,6 +57,17 @@ namespace OpenSim.Region.Physics.Manager
{
}
[StructLayout(LayoutKind.Explicit)]
public struct AMeshKey
{
[FieldOffset(0)]
public UUID uuid;
[FieldOffset(0)]
public ulong hashA;
[FieldOffset(8)]
public ulong hashB;
}
public interface IMesh
{
List<Vector3> getVertexList();