BulletSim: complete movement of BulletSimAPI functions to BSAPITemplate.

Update BulletSim DLLs and SOs with simplier step function interface.
This commit is contained in:
Robert Adams
2012-12-31 16:22:45 -08:00
parent c2a7af18b6
commit 3d0fc70864
14 changed files with 312 additions and 195 deletions

View File

@@ -187,11 +187,11 @@ public class BulletConstraint
// Made a class rather than a struct so there would be only one
// instance of this and C# will pass around pointers rather
// than making copies.
public class BulletHeightMapInfo
public class BulletHMapInfo
{
public BulletHeightMapInfo(uint id, float[] hm, IntPtr xx) {
public BulletHMapInfo(uint id, float[] hm, IntPtr xx) {
ID = id;
Ptr = xx;
ptr = xx;
heightMap = hm;
terrainRegionBase = OMV.Vector3.Zero;
minCoords = new OMV.Vector3(100f, 100f, 25f);
@@ -200,7 +200,7 @@ public class BulletHeightMapInfo
sizeX = sizeY = 256f;
}
public uint ID;
public IntPtr Ptr;
public IntPtr ptr;
public float[] heightMap;
public OMV.Vector3 terrainRegionBase;
public OMV.Vector3 minCoords;