internal static extern void dGeomHeightfieldSetHeightfieldData(dGeomID g, dHeightfieldDataID d);
internal static extern void dGeomHeightfieldDataSetBounds(dHeightfieldDataID d, dReal minHeight, dReal maxHeight);
internal static extern void dGeomHeightfieldDataBuildCallback(dHeightfieldDataID d, IntPtr pUserData, dHeightfieldGetHeight pCallback, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap);
internal static extern void dGeomHeightfieldDataBuildDouble(dHeightfieldDataID d, IntPtr pHeightData, int bCopyHeightData, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap);
internal static extern dGeomID dCreateHeightfield( dSpaceID space, dHeightfieldDataID data, int bPlaceable);