diff options
author | Robert Adams | 2012-12-31 16:54:39 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-31 19:57:25 -0800 |
commit | 9396ccc078516023d63b5a86b3262ff97a1e97fb (patch) | |
tree | e02d28a4bf16a98625f359358f883e866f5339d4 /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |
parent | BulletSim: complete movement of BulletSimAPI functions to BSAPITemplate. (diff) | |
download | opensim-SC_OLD-9396ccc078516023d63b5a86b3262ff97a1e97fb.zip opensim-SC_OLD-9396ccc078516023d63b5a86b3262ff97a1e97fb.tar.gz opensim-SC_OLD-9396ccc078516023d63b5a86b3262ff97a1e97fb.tar.bz2 opensim-SC_OLD-9396ccc078516023d63b5a86b3262ff97a1e97fb.tar.xz |
BulletSim: eliminate the use of the unmanaged HeightMapInfo structure.
Remove all related calls from the unmanaged and BSAPITemplate interfaces.
Update DLLs and SOs to include the version without HeightMapInfo structures.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | 18 |
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 | /* | ||
306 | public abstract void SetHeightMap(BulletWorld world, float[] heightmap); | ||
307 | |||
308 | */ | ||
309 | public abstract int PhysicsStep(BulletWorld world, float timeStep, int maxSubSteps, float fixedTimeStep, | 305 | public 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); | |||
369 | public abstract void DestroyObject(BulletWorld sim, BulletBody obj); | 365 | public abstract void DestroyObject(BulletWorld sim, BulletBody obj); |
370 | 366 | ||
371 | // ===================================================================================== | 367 | // ===================================================================================== |
372 | // Terrain creation and helper routines | ||
373 | public abstract IntPtr CreateHeightMapInfo(BulletWorld sim, uint id, Vector3 minCoords, Vector3 maxCoords, | ||
374 | float[] heightMap, float collisionMargin); | ||
375 | |||
376 | public abstract IntPtr FillHeightMapInfo(BulletWorld sim, IntPtr mapInfo, uint id, Vector3 minCoords, Vector3 maxCoords, | ||
377 | float[] heightMap, float collisionMargin); | ||
378 | |||
379 | public abstract bool ReleaseHeightMapInfo(IntPtr heightMapInfo); | ||
380 | |||
381 | public abstract BulletShape CreateGroundPlaneShape(uint id, float height, float collisionMargin); | 368 | public abstract BulletShape CreateGroundPlaneShape(uint id, float height, float collisionMargin); |
382 | 369 | ||
383 | public abstract BulletShape CreateTerrainShape(IntPtr mapInfo); | 370 | public 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 | ||
668 | public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape); | 656 | public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape); |
669 | 657 | ||
670 | public abstract void DumpMapInfo(BulletWorld sim, BulletHMapInfo mapInfo); | ||
671 | |||
672 | public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain); | 658 | public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain); |
673 | 659 | ||
674 | public abstract void DumpActivationInfo(BulletWorld sim); | 660 | public abstract void DumpActivationInfo(BulletWorld sim); |