aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
diff options
context:
space:
mode:
authorMelanie2012-11-22 14:45:41 +0000
committerMelanie2012-11-22 14:45:41 +0000
commit3b2caa63b0ba890555990a88821ee37daa2607b4 (patch)
treea1f3c176b4b80330d34bbd6ac18811c5d7299081 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
parentFactor out command script code. (diff)
downloadopensim-SC-3b2caa63b0ba890555990a88821ee37daa2607b4.zip
opensim-SC-3b2caa63b0ba890555990a88821ee37daa2607b4.tar.gz
opensim-SC-3b2caa63b0ba890555990a88821ee37daa2607b4.tar.bz2
opensim-SC-3b2caa63b0ba890555990a88821ee37daa2607b4.tar.xz
Rename BulletSim's PhysicsShapeType to BSPhysicsShapeType because it
conflicts with PhysicsShape type defined in later libOMV
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
index 4647c2d..e60a760 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
@@ -88,11 +88,11 @@ public struct BulletShape
88 public BulletShape(IntPtr xx) 88 public BulletShape(IntPtr xx)
89 { 89 {
90 ptr = xx; 90 ptr = xx;
91 type=PhysicsShapeType.SHAPE_UNKNOWN; 91 type=BSPhysicsShapeType.SHAPE_UNKNOWN;
92 shapeKey = (System.UInt64)FixedShapeKey.KEY_NONE; 92 shapeKey = (System.UInt64)FixedShapeKey.KEY_NONE;
93 isNativeShape = false; 93 isNativeShape = false;
94 } 94 }
95 public BulletShape(IntPtr xx, PhysicsShapeType typ) 95 public BulletShape(IntPtr xx, BSPhysicsShapeType typ)
96 { 96 {
97 ptr = xx; 97 ptr = xx;
98 type = typ; 98 type = typ;
@@ -100,7 +100,7 @@ public struct BulletShape
100 isNativeShape = false; 100 isNativeShape = false;
101 } 101 }
102 public IntPtr ptr; 102 public IntPtr ptr;
103 public PhysicsShapeType type; 103 public BSPhysicsShapeType type;
104 public System.UInt64 shapeKey; 104 public System.UInt64 shapeKey;
105 public bool isNativeShape; 105 public bool isNativeShape;
106 public override string ToString() 106 public override string ToString()
@@ -178,7 +178,7 @@ public struct ConvexHull
178 int VertexCount; 178 int VertexCount;
179 Vector3[] Vertices; 179 Vector3[] Vertices;
180} 180}
181public enum PhysicsShapeType 181public enum BSPhysicsShapeType
182{ 182{
183 SHAPE_UNKNOWN = 0, 183 SHAPE_UNKNOWN = 0,
184 SHAPE_CAPSULE = 1, 184 SHAPE_CAPSULE = 1,
@@ -210,7 +210,7 @@ public enum FixedShapeKey : ulong
210public struct ShapeData 210public struct ShapeData
211{ 211{
212 public uint ID; 212 public uint ID;
213 public PhysicsShapeType Type; 213 public BSPhysicsShapeType Type;
214 public Vector3 Position; 214 public Vector3 Position;
215 public Quaternion Rotation; 215 public Quaternion Rotation;
216 public Vector3 Velocity; 216 public Vector3 Velocity;