aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs18
1 files changed, 2 insertions, 16 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
index 64a886b..a618a21 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
@@ -302,10 +302,6 @@ public abstract BulletWorld Initialize(Vector3 maxPosition, ConfigurationParamet
302 int maxUpdates, ref EntityProperties[] updateArray 302 int maxUpdates, ref EntityProperties[] updateArray
303 ); 303 );
304 304
305 /*
306public abstract void SetHeightMap(BulletWorld world, float[] heightmap);
307
308 */
309public abstract int PhysicsStep(BulletWorld world, float timeStep, int maxSubSteps, float fixedTimeStep, 305public abstract int PhysicsStep(BulletWorld world, float timeStep, int maxSubSteps, float fixedTimeStep,
310 out int updatedEntityCount, out int collidersCount); 306 out int updatedEntityCount, out int collidersCount);
311 307
@@ -369,18 +365,10 @@ public abstract void ReleaseBodyInfo(IntPtr obj);
369public abstract void DestroyObject(BulletWorld sim, BulletBody obj); 365public abstract void DestroyObject(BulletWorld sim, BulletBody obj);
370 366
371// ===================================================================================== 367// =====================================================================================
372// Terrain creation and helper routines
373public abstract IntPtr CreateHeightMapInfo(BulletWorld sim, uint id, Vector3 minCoords, Vector3 maxCoords,
374 float[] heightMap, float collisionMargin);
375
376public abstract IntPtr FillHeightMapInfo(BulletWorld sim, IntPtr mapInfo, uint id, Vector3 minCoords, Vector3 maxCoords,
377 float[] heightMap, float collisionMargin);
378
379public abstract bool ReleaseHeightMapInfo(IntPtr heightMapInfo);
380
381public abstract BulletShape CreateGroundPlaneShape(uint id, float height, float collisionMargin); 368public abstract BulletShape CreateGroundPlaneShape(uint id, float height, float collisionMargin);
382 369
383public abstract BulletShape CreateTerrainShape(IntPtr mapInfo); 370public abstract BulletShape CreateTerrainShape(uint id, Vector3 size, float minHeight, float maxHeight, float[] heightMap,
371 float scaleFactor, float collisionMargin);
384 372
385// ===================================================================================== 373// =====================================================================================
386// Constraint creation and helper routines 374// Constraint creation and helper routines
@@ -667,8 +655,6 @@ public abstract void DumpRigidBody(BulletWorld sim, BulletBody collisionObject);
667 655
668public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape); 656public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape);
669 657
670public abstract void DumpMapInfo(BulletWorld sim, BulletHMapInfo mapInfo);
671
672public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain); 658public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain);
673 659
674public abstract void DumpActivationInfo(BulletWorld sim); 660public abstract void DumpActivationInfo(BulletWorld sim);