aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs')
-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 fe705cc..0ffbc94 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
@@ -87,12 +87,12 @@ public struct ShapeData
87 public System.UInt64 MeshKey; 87 public System.UInt64 MeshKey;
88 public float Friction; 88 public float Friction;
89 public float Restitution; 89 public float Restitution;
90 public int Collidable; 90 public float Collidable; // true of things bump into this
91 public int Static; // true if a static object. Otherwise gravity, etc. 91 public float Static; // true if a static object. Otherwise gravity, etc.
92 92
93 // note that bools are passed as ints since bool size changes by language and architecture 93 // note that bools are passed as floats since bool size changes by language and architecture
94 public const int numericTrue = 1; 94 public const float numericTrue = 1f;
95 public const int numericFalse = 0; 95 public const float numericFalse = 0f;
96} 96}
97[StructLayout(LayoutKind.Sequential)] 97[StructLayout(LayoutKind.Sequential)]
98public struct SweepHit 98public struct SweepHit