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.
This commit is contained in:
Robert Adams
2012-12-31 16:54:39 -08:00
parent 3d0fc70864
commit 9396ccc078
8 changed files with 20 additions and 42 deletions

View File

@@ -189,9 +189,8 @@ public class BulletConstraint
// than making copies.
public class BulletHMapInfo
{
public BulletHMapInfo(uint id, float[] hm, IntPtr xx) {
public BulletHMapInfo(uint id, float[] hm) {
ID = id;
ptr = xx;
heightMap = hm;
terrainRegionBase = OMV.Vector3.Zero;
minCoords = new OMV.Vector3(100f, 100f, 25f);
@@ -200,7 +199,6 @@ public class BulletHMapInfo
sizeX = sizeY = 256f;
}
public uint ID;
public IntPtr ptr;
public float[] heightMap;
public OMV.Vector3 terrainRegionBase;
public OMV.Vector3 minCoords;