aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-01 00:40:31 +0100
committerJustin Clark-Casey (justincc)2012-08-01 00:40:31 +0100
commit69a5beeabca8471d84312a4f5e2e84f260a9f621 (patch)
tree228607e819ef9ad1eccf43ba2d8a99415ad6fdc6 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
parentLook up the NPC module when the SensorRepeat class is created, rather than on... (diff)
parentBulletSim: fix problem where resizing a primary shape (cube or sphere) would ... (diff)
downloadopensim-SC-69a5beeabca8471d84312a4f5e2e84f260a9f621.zip
opensim-SC-69a5beeabca8471d84312a4f5e2e84f260a9f621.tar.gz
opensim-SC-69a5beeabca8471d84312a4f5e2e84f260a9f621.tar.bz2
opensim-SC-69a5beeabca8471d84312a4f5e2e84f260a9f621.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
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