void freeHandle( btSimpleBroadphaseProxy* proxy ) { int handle = int( proxy - m_pHandles ); Debug.Assert( handle >= 0 && handle < m_maxHandles ); if( handle == m_LastHandleIndex ) { m_LastHandleIndex--; } proxy.SetNextFree( m_firstFreeHandle ); m_firstFreeHandle = handle; proxy.m_clientObject = 0; m_numHandles--; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btSimpleBroadphaseProxy obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public static bool aabbOverlap(btSimpleBroadphaseProxy proxy0, btSimpleBroadphaseProxy proxy1) { bool ret = BulletPINVOKE.btSimpleBroadphase_aabbOverlap(btSimpleBroadphaseProxy.getCPtr(proxy0), btSimpleBroadphaseProxy.getCPtr(proxy1)); return(ret); }
static bool aabbOverlap( btSimpleBroadphaseProxy* proxy0, btSimpleBroadphaseProxy* proxy1 );