diff options
author | Melanie | 2012-10-18 20:56:34 +0100 |
---|---|---|
committer | Melanie | 2012-10-18 20:56:34 +0100 |
commit | 72c925a6c9eb4dea6f9134db10c3af28ea83df48 (patch) | |
tree | 9f991ade4e71f91fc612759b4e783c9f01a740f3 /OpenSim/Region/Physics/Manager/IMesher.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove redundant and annoyingly modal message box in upload processing. (diff) | |
download | opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.zip opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.gz opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.bz2 opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.xz |
Merge branch 'avination' into careminster
Conflicts:
OpenSim/Framework/WebUtil.cs
OpenSim/Region/Physics/OdePlugin/OdeScene.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Manager/IMesher.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Manager/IMesher.cs b/OpenSim/Region/Physics/Manager/IMesher.cs index a8c99f7..ecc2918 100644 --- a/OpenSim/Region/Physics/Manager/IMesher.cs +++ b/OpenSim/Region/Physics/Manager/IMesher.cs | |||
@@ -37,9 +37,11 @@ namespace OpenSim.Region.Physics.Manager | |||
37 | { | 37 | { |
38 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod); | 38 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod); |
39 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical); | 39 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical); |
40 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical,bool convex); | 40 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex, bool forOde); |
41 | IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex); | ||
41 | void ReleaseMesh(IMesh mesh); | 42 | void ReleaseMesh(IMesh mesh); |
42 | void ExpireReleaseMeshs(); | 43 | void ExpireReleaseMeshs(); |
44 | void ExpireFileCache(); | ||
43 | } | 45 | } |
44 | 46 | ||
45 | // Values for level of detail to be passed to the mesher. | 47 | // Values for level of detail to be passed to the mesher. |
@@ -57,6 +59,7 @@ namespace OpenSim.Region.Physics.Manager | |||
57 | { | 59 | { |
58 | } | 60 | } |
59 | 61 | ||
62 | [Serializable()] | ||
60 | [StructLayout(LayoutKind.Explicit)] | 63 | [StructLayout(LayoutKind.Explicit)] |
61 | public struct AMeshKey | 64 | public struct AMeshKey |
62 | { | 65 | { |
@@ -66,6 +69,13 @@ namespace OpenSim.Region.Physics.Manager | |||
66 | public ulong hashA; | 69 | public ulong hashA; |
67 | [FieldOffset(8)] | 70 | [FieldOffset(8)] |
68 | public ulong hashB; | 71 | public ulong hashB; |
72 | [FieldOffset(16)] | ||
73 | public ulong hashC; | ||
74 | |||
75 | public override string ToString() | ||
76 | { | ||
77 | return uuid.ToString() + "-" + hashC.ToString("x") ; | ||
78 | } | ||
69 | } | 79 | } |
70 | 80 | ||
71 | public interface IMesh | 81 | public interface IMesh |
@@ -81,5 +91,6 @@ namespace OpenSim.Region.Physics.Manager | |||
81 | void Append(IMesh newMesh); | 91 | void Append(IMesh newMesh); |
82 | void TransformLinear(float[,] matrix, float[] offset); | 92 | void TransformLinear(float[,] matrix, float[] offset); |
83 | Vector3 GetCentroid(); | 93 | Vector3 GetCentroid(); |
94 | Vector3 GetOBB(); | ||
84 | } | 95 | } |
85 | } | 96 | } |