public override SWIGTYPE_p_void removeOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1, btDispatcher dispatcher) { global::System.IntPtr cPtr = BulletPINVOKE.btHashedOverlappingPairCache_removeOverlappingPair(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1), btDispatcher.getCPtr(dispatcher)); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return(ret); }
public override btBroadphasePair findPair(btBroadphaseProxy arg0, btBroadphaseProxy arg1) { global::System.IntPtr cPtr = BulletPINVOKE.btNullPairCache_findPair(swigCPtr, btBroadphaseProxy.getCPtr(arg0), btBroadphaseProxy.getCPtr(arg1)); btBroadphasePair ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphasePair(cPtr, false); return(ret); }
public override btBroadphasePair addOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { global::System.IntPtr cPtr = BulletPINVOKE.btHashedOverlappingPairCache_addOverlappingPair(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)); btBroadphasePair ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphasePair(cPtr, false); return(ret); }
public btBroadphaseProxy getBroadphaseHandle() { global::System.IntPtr cPtr = BulletPINVOKE.btCollisionObject_getBroadphaseHandle__SWIG_0(swigCPtr); btBroadphaseProxy ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphaseProxy(cPtr, false); return(ret); }
public btBroadphasePair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) : this(BulletPINVOKE.new_btBroadphasePair__SWIG_2(btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)), true) { if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public override SWIGTYPE_p_void removeOverlappingPair(btBroadphaseProxy arg0, btBroadphaseProxy arg1, btDispatcher arg2) { global::System.IntPtr cPtr = BulletPINVOKE.btNullPairCache_removeOverlappingPair(swigCPtr, btBroadphaseProxy.getCPtr(arg0), btBroadphaseProxy.getCPtr(arg1), btDispatcher.getCPtr(arg2)); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return(ret); }
public virtual btBroadphasePair findPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { global::System.IntPtr cPtr = BulletPINVOKE.btOverlappingPairCache_findPair(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)); btBroadphasePair ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphasePair(cPtr, false); return(ret); }
public btBroadphaseProxy getBroadphaseProxy() { global::System.IntPtr cPtr = BulletPINVOKE.btRigidBody_getBroadphaseProxy__SWIG_0(swigCPtr); btBroadphaseProxy ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphaseProxy(cPtr, false); return(ret); }
public void setAabbForceUpdate(btBroadphaseProxy absproxy, btVector3 aabbMin, btVector3 aabbMax, btDispatcher arg3) { BulletPINVOKE.btDbvtBroadphase_setAabbForceUpdate(swigCPtr, btBroadphaseProxy.getCPtr(absproxy), btVector3.getCPtr(aabbMin), btVector3.getCPtr(aabbMax), btDispatcher.getCPtr(arg3)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public override void getAabb(btBroadphaseProxy proxy, btVector3 aabbMin, btVector3 aabbMax) { BulletPINVOKE.btDbvtBroadphase_getAabb(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btVector3.getCPtr(aabbMin), btVector3.getCPtr(aabbMax)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public override void setAabb(btBroadphaseProxy proxy, btVector3 aabbMin, btVector3 aabbMax, btDispatcher dispatcher) { BulletPINVOKE.btSimpleBroadphase_setAabb(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btVector3.getCPtr(aabbMin), btVector3.getCPtr(aabbMax), btDispatcher.getCPtr(dispatcher)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public override btBroadphaseProxy createProxy(btVector3 aabbMin, btVector3 aabbMax, int shapeType, SWIGTYPE_p_void userPtr, short collisionFilterGroup, short collisionFilterMask, btDispatcher dispatcher, SWIGTYPE_p_void multiSapProxy) { global::System.IntPtr cPtr = BulletPINVOKE.btDbvtBroadphase_createProxy(swigCPtr, btVector3.getCPtr(aabbMin), btVector3.getCPtr(aabbMax), shapeType, SWIGTYPE_p_void.getCPtr(userPtr), collisionFilterGroup, collisionFilterMask, btDispatcher.getCPtr(dispatcher), SWIGTYPE_p_void.getCPtr(multiSapProxy)); btBroadphaseProxy ret = (cPtr == global::System.IntPtr.Zero) ? null : new btBroadphaseProxy(cPtr, false); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal abstract void removeOverlappingPairsContainingProxy( btBroadphaseProxy proxy0, btDispatcher dispatcher );
virtual object removeOverlappingPair( btBroadphaseProxy* proxy0, btBroadphaseProxy* proxy1, btDispatcher* dispatcher ) { btCollisionObject colObj0 = (btCollisionObject)proxy0.m_clientObject; btCollisionObject colObj1 = (btCollisionObject)proxy1.m_clientObject; btGhostObject* ghost0 = btGhostObject::upcast( colObj0 ); btGhostObject* ghost1 = btGhostObject::upcast( colObj1 ); if( ghost0 ) ghost0.removeOverlappingObjectInternal( proxy1, dispatcher, proxy0 ); if( ghost1 ) ghost1.removeOverlappingObjectInternal( proxy0, dispatcher, proxy1 ); return 0; }
public virtual bool process(btBroadphaseProxy proxy) { bool ret = BulletPINVOKE.btBroadphaseAabbCallback_process(swigCPtr, btBroadphaseProxy.getCPtr(proxy)); return(ret); }
public bool testAabbOverlap(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { bool ret = BulletPINVOKE.btSimpleBroadphase_testAabbOverlap(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)); return(ret); }
public override void removeOverlappingPairsContainingProxy(btBroadphaseProxy arg0, btDispatcher arg1) { BulletPINVOKE.btNullPairCache_removeOverlappingPairsContainingProxy(swigCPtr, btBroadphaseProxy.getCPtr(arg0), btDispatcher.getCPtr(arg1)); }
virtual void getAabb( btBroadphaseProxy* proxy, ref btVector3 aabbMin, ref btVector3 aabbMax );
virtual void setAabb( btBroadphaseProxy* proxy, ref btVector3 aabbMin, ref btVector3 aabbMax, btDispatcher* dispatcher );
virtual void destroyProxy( btBroadphaseProxy* proxy, btDispatcher* dispatcher );
btBroadphasePair* findPair(btBroadphaseProxy* proxy0, btBroadphaseProxy* proxy1);
virtual void removeOverlappingObjectInternal( btBroadphaseProxy* otherProxy, btDispatcher* dispatcher, btBroadphaseProxy* thisProxy = 0 );
///this method is mainly for expert/internal use only. virtual void addOverlappingObjectInternal( btBroadphaseProxy* otherProxy, btBroadphaseProxy* thisProxy = 0 );
virtual void removeOverlappingPairsContainingProxy( btBroadphaseProxy* /*proxy0*/, btDispatcher* /*dispatcher*/) { Debug.Assert( false ); //need to keep track of all ghost objects and call them here //m_hashPairCache.removeOverlappingPairsContainingProxy(proxy0,dispatcher); }
public override void cleanProxyFromPairs(btBroadphaseProxy arg0, btDispatcher arg1) { BulletPINVOKE.btNullPairCache_cleanProxyFromPairs(swigCPtr, btBroadphaseProxy.getCPtr(arg0), btDispatcher.getCPtr(arg1)); }
public void setBroadphaseHandle(btBroadphaseProxy handle) { BulletPINVOKE.btCollisionObject_setBroadphaseHandle(swigCPtr, btBroadphaseProxy.getCPtr(handle)); }
public virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy proxy0, btDispatcher dispatcher) { BulletPINVOKE.btOverlappingPairCallback_removeOverlappingPairsContainingProxy(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btDispatcher.getCPtr(dispatcher)); }
public virtual bool needBroadphaseCollision(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { bool ret = BulletPINVOKE.btOverlapFilterCallback_needBroadphaseCollision(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)); return(ret); }
public void addToChildBroadphase(btMultiSapBroadphase.btMultiSapProxy parentMultiSapProxy, btBroadphaseProxy childProxy, btBroadphaseInterface childBroadphase) { BulletPINVOKE.btMultiSapBroadphase_addToChildBroadphase(swigCPtr, btMultiSapBroadphase.btMultiSapProxy.getCPtr(parentMultiSapProxy), btBroadphaseProxy.getCPtr(childProxy), btBroadphaseInterface.getCPtr(childBroadphase)); }
public virtual bool needsCollision(btBroadphaseProxy proxy0) { bool ret = BulletPINVOKE.btCollisionWorld_ContactResultCallback_needsCollision(swigCPtr, btBroadphaseProxy.getCPtr(proxy0)); return(ret); }
public virtual void destroyProxy(btBroadphaseProxy proxy, btDispatcher dispatcher) { BulletPINVOKE.btBroadphaseInterface_destroyProxy(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btDispatcher.getCPtr(dispatcher)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btBroadphaseProxy obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal abstract btBroadphasePair addOverlappingPair( btBroadphaseProxy proxy0, btBroadphaseProxy proxy1 );
public override void destroyProxy(btBroadphaseProxy proxy, btDispatcher dispatcher) { BulletPINVOKE.btDbvtBroadphase_destroyProxy(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btDispatcher.getCPtr(dispatcher)); }
internal abstract object removeOverlappingPair( btBroadphaseProxy proxy0, btBroadphaseProxy proxy1, btDispatcher dispatcher );
bool testAabbOverlap( btBroadphaseProxy* proxy0, btBroadphaseProxy* proxy1 );
virtual btBroadphasePair* addOverlappingPair( btBroadphaseProxy* proxy0, btBroadphaseProxy* proxy1 ) { btCollisionObject colObj0 = (btCollisionObject)proxy0.m_clientObject; btCollisionObject colObj1 = (btCollisionObject)proxy1.m_clientObject; btGhostObject* ghost0 = btGhostObject::upcast( colObj0 ); btGhostObject* ghost1 = btGhostObject::upcast( colObj1 ); if( ghost0 ) ghost0.addOverlappingObjectInternal( proxy1, proxy0 ); if( ghost1 ) ghost1.addOverlappingObjectInternal( proxy0, proxy1 ); return 0; }
public override void removeOverlappingPairsContainingProxy(btBroadphaseProxy proxy, btDispatcher dispatcher) { BulletPINVOKE.btHashedOverlappingPairCache_removeOverlappingPairsContainingProxy(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btDispatcher.getCPtr(dispatcher)); }
inline btSimpleBroadphaseProxy* getSimpleProxyFromProxy( btBroadphaseProxy* proxy ) { btSimpleBroadphaseProxy* proxy0 = static_cast<btSimpleBroadphaseProxy*>( proxy ); return proxy0; }
public bool needsBroadphaseCollision(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { bool ret = BulletPINVOKE.btHashedOverlappingPairCache_needsBroadphaseCollision(swigCPtr, btBroadphaseProxy.getCPtr(proxy0), btBroadphaseProxy.getCPtr(proxy1)); return(ret); }
public void setNewBroadphaseProxy(btBroadphaseProxy broadphaseProxy) { BulletPINVOKE.btRigidBody_setNewBroadphaseProxy(swigCPtr, btBroadphaseProxy.getCPtr(broadphaseProxy)); }
public override void cleanProxyFromPairs(btBroadphaseProxy proxy, btDispatcher dispatcher) { BulletPINVOKE.btHashedOverlappingPairCache_cleanProxyFromPairs(swigCPtr, btBroadphaseProxy.getCPtr(proxy), btDispatcher.getCPtr(dispatcher)); }
/*public unsafe void quantize(ushort* outvalue, btVector3 point, int isMax) { btVector3 v = (point - m_worldAabbMin) * m_quantize; outvalue[0] = (v[0] <= 0) ? (ushort)isMax : (v[0] >= m_handleSentinel) ? (ushort)((m_handleSentinel & m_bpHandleMask) | isMax) : (ushort)(((ushort)v[0] & m_bpHandleMask) | isMax); outvalue[1] = (v[1] <= 0) ? (ushort)isMax : (v[1] >= m_handleSentinel) ? (ushort)((m_handleSentinel & m_bpHandleMask) | isMax) : (ushort)(((ushort)v[1] & m_bpHandleMask) | isMax); outvalue[2] = (v[2] <= 0) ? (ushort)isMax : (v[2] >= m_handleSentinel) ? (ushort)((m_handleSentinel & m_bpHandleMask) | isMax) : (ushort)(((ushort)v[2] & m_bpHandleMask) | isMax); }*/ #if false ///unQuantize should be conservative: aabbMin/aabbMax should be larger then 'getAabb' result void unQuantize(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;