Home
last modified time | relevance | path

Searched refs:proxy0 (Results 1 – 25 of 33) sorted by relevance

12

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtSimpleBroadphase.cpp124 btSimpleBroadphaseProxy* proxy0 = static_cast<btSimpleBroadphaseProxy*>(pair.m_pProxy0); in processOverlap() local
127 return ((m_targetProxy == proxy0 || m_targetProxy == proxy1)); in processOverlap()
134 btSimpleBroadphaseProxy* proxy0 = static_cast<btSimpleBroadphaseProxy*>(proxyOrg); in destroyProxy() local
135 freeHandle(proxy0); in destroyProxy()
193 bool btSimpleBroadphase::aabbOverlap(btSimpleBroadphaseProxy* proxy0,btSimpleBroadphaseProxy* proxy… in aabbOverlap() argument
195 …return proxy0->m_aabbMin[0] <= proxy1->m_aabbMax[0] && proxy1->m_aabbMin[0] <= proxy0->m_aabbMax[0… in aabbOverlap()
196 proxy0->m_aabbMin[1] <= proxy1->m_aabbMax[1] && proxy1->m_aabbMin[1] <= proxy0->m_aabbMax[1] && in aabbOverlap()
197 proxy0->m_aabbMin[2] <= proxy1->m_aabbMax[2] && proxy1->m_aabbMin[2] <= proxy0->m_aabbMax[2]; in aabbOverlap()
222 btSimpleBroadphaseProxy* proxy0 = &m_pHandles[i]; in calculateOverlappingPairs() local
223 if(!proxy0->m_clientObject) in calculateOverlappingPairs()
[all …]
DbtOverlappingPairCache.h43 …virtual bool needBroadphaseCollision(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) const = …
81 virtual btBroadphasePair* findPair(btBroadphaseProxy* proxy0, btBroadphaseProxy* proxy1) = 0;
113 …virtual void* removeOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1,btDispatch…
115 …SIMD_FORCE_INLINE bool needsBroadphaseCollision(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy… in needsBroadphaseCollision() argument
118 return m_overlapFilterCallback->needBroadphaseCollision(proxy0,proxy1); in needsBroadphaseCollision()
120 bool collides = (proxy0->m_collisionFilterGroup & proxy1->m_collisionFilterMask) != 0; in needsBroadphaseCollision()
121 collides = collides && (proxy1->m_collisionFilterGroup & proxy0->m_collisionFilterMask); in needsBroadphaseCollision()
128 virtual btBroadphasePair* addOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) in addOverlappingPair() argument
132 if (!needsBroadphaseCollision(proxy0,proxy1)) in addOverlappingPair()
135 return internalAddPair(proxy0,proxy1); in addOverlappingPair()
[all …]
DbtOverlappingPairCache.cpp136 btBroadphasePair* btHashedOverlappingPairCache::findPair(btBroadphaseProxy* proxy0, btBroadphasePro… in findPair() argument
139 if(proxy0->m_uniqueId>proxy1->m_uniqueId) in findPair()
140 btSwap(proxy0,proxy1); in findPair()
141 int proxyId1 = proxy0->getUid(); in findPair()
214 btBroadphasePair* btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy* proxy0, btBroadp… in internalAddPair() argument
216 if(proxy0->m_uniqueId>proxy1->m_uniqueId) in internalAddPair()
217 btSwap(proxy0,proxy1); in internalAddPair()
218 int proxyId1 = proxy0->getUid(); in internalAddPair()
227 btBroadphasePair* pair = internalFindPair(proxy0, proxy1, hash); in internalAddPair()
247 m_ghostPairCallback->addOverlappingPair(proxy0,proxy1); in internalAddPair()
[all …]
DbtSimpleBroadphase.h101 btSimpleBroadphaseProxy* proxy0 = static_cast<btSimpleBroadphaseProxy*>(proxy); in getSimpleProxyFromProxy() local
102 return proxy0; in getSimpleProxyFromProxy()
107 const btSimpleBroadphaseProxy* proxy0 = static_cast<const btSimpleBroadphaseProxy*>(proxy); in getSimpleProxyFromProxy() local
108 return proxy0; in getSimpleProxyFromProxy()
127 static bool aabbOverlap(btSimpleBroadphaseProxy* proxy0,btSimpleBroadphaseProxy* proxy1);
150 bool testAabbOverlap(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1);
DbtOverlappingPairCallback.h32 …virtual btBroadphasePair* addOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) …
34 …virtual void* removeOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1,btDispatch…
36 …virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy* proxy0,btDispatcher* dispatc…
DbtBroadphaseProxy.h206 btBroadphasePair(btBroadphaseProxy& proxy0,btBroadphaseProxy& proxy1) in ATTRIBUTE_ALIGNED16()
210 if (proxy0.m_uniqueId < proxy1.m_uniqueId) in ATTRIBUTE_ALIGNED16()
212 m_pProxy0 = &proxy0; in ATTRIBUTE_ALIGNED16()
218 m_pProxy1 = &proxy0; in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtOverlappingPairCallback.java76 public btBroadphasePair addOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in addOverlappingPair() argument
77 …allback_addOverlappingPair(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in addOverlappingPair()
80 …public long removeOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1, btDispatcher… in removeOverlappingPair() argument
81 …back_removeOverlappingPair(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in removeOverlappingPair()
84 …public void removeOverlappingPairsContainingProxy(btBroadphaseProxy proxy0, btDispatcher dispatche… in removeOverlappingPairsContainingProxy() argument
85 …appingPairsContainingProxy(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btDispatcher… in removeOverlappingPairsContainingProxy()
DbtGhostPairCallback.java81 public btBroadphasePair addOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in addOverlappingPair() argument
82proxy0), proxy0, btBroadphaseProxy.getCPtr(proxy1), proxy1) : CollisionJNI.btGhostPairCallback_add… in addOverlappingPair()
85 …public long removeOverlappingPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1, btDispatcher… in removeOverlappingPair() argument
86proxy0), proxy0, btBroadphaseProxy.getCPtr(proxy1), proxy1, btDispatcher.getCPtr(dispatcher), disp… in removeOverlappingPair()
DbtSimpleBroadphase.java73 …public static boolean aabbOverlap(btSimpleBroadphaseProxy proxy0, btSimpleBroadphaseProxy proxy1) { in aabbOverlap() argument
74 …onJNI.btSimpleBroadphase_aabbOverlap(btSimpleBroadphaseProxy.getCPtr(proxy0), proxy0, btSimpleBroa… in aabbOverlap()
94 public boolean testAabbOverlap(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in testAabbOverlap() argument
95 …Broadphase_testAabbOverlap(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in testAabbOverlap()
DConvexResultCallback.java109 public boolean needsCollision(btBroadphaseProxy proxy0) { in needsCollision() argument
110proxy0), proxy0) : CollisionJNI.ConvexResultCallback_needsCollisionSwigExplicitConvexResultCallbac… in needsCollision()
DContactResultCallback.java97 public boolean needsCollision(btBroadphaseProxy proxy0) { in needsCollision() argument
98proxy0), proxy0) : CollisionJNI.ContactResultCallback_needsCollisionSwigExplicitContactResultCallb… in needsCollision()
DRayResultCallback.java125 public boolean needsCollision(btBroadphaseProxy proxy0) { in needsCollision() argument
126 …(proxy0), proxy0) : CollisionJNI.RayResultCallback_needsCollisionSwigExplicitRayResultCallback(swi… in needsCollision()
DbtOverlapFilterCallback.java76 public boolean needBroadphaseCollision(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in needBroadphaseCollision() argument
77 …ck_needBroadphaseCollision(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in needBroadphaseCollision()
DbtHashedOverlappingPairCache.java65 public boolean needsBroadphaseCollision(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in needsBroadphaseCollision() argument
66 …e_needsBroadphaseCollision(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in needsBroadphaseCollision()
DbtSortedOverlappingPairCache.java65 public boolean needsBroadphaseCollision(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in needsBroadphaseCollision() argument
66 …e_needsBroadphaseCollision(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in needsBroadphaseCollision()
DClosestNotMeConvexResultCallback.java81 public boolean needsCollision(btBroadphaseProxy proxy0) { in needsCollision() argument
82 …otMeConvexResultCallback_needsCollision(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0); in needsCollision()
DbtOverlappingPairCache.java89 public btBroadphasePair findPair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in findPair() argument
90 …rlappingPairCache_findPair(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in findPair()
DbtMultiSapBroadphase.java156 public boolean testAabbOverlap(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in testAabbOverlap() argument
157 …Broadphase_testAabbOverlap(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphase… in testAabbOverlap()
DbtBroadphasePair.java94 public btBroadphasePair(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) { in btBroadphasePair() argument
95 this(CollisionJNI.new_btBroadphasePair__SWIG_2(proxy0, proxy1), true); in btBroadphasePair()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtGhostObject.h137 virtual btBroadphasePair* addOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) in addOverlappingPair() argument
139 btCollisionObject* colObj0 = (btCollisionObject*) proxy0->m_clientObject; in addOverlappingPair()
144 ghost0->addOverlappingObjectInternal(proxy1, proxy0); in addOverlappingPair()
146 ghost1->addOverlappingObjectInternal(proxy0, proxy1); in addOverlappingPair()
150 …virtual void* removeOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1,btDispatch… in removeOverlappingPair() argument
152 btCollisionObject* colObj0 = (btCollisionObject*) proxy0->m_clientObject; in removeOverlappingPair()
157 ghost0->removeOverlappingObjectInternal(proxy1,dispatcher,proxy0); in removeOverlappingPair()
159 ghost1->removeOverlappingObjectInternal(proxy0,dispatcher,proxy1); in removeOverlappingPair()
DbtCollisionWorld.h231 virtual bool needsCollision(btBroadphaseProxy* proxy0) const in needsCollision()
233 bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; in needsCollision()
234 collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); in needsCollision()
364 virtual bool needsCollision(btBroadphaseProxy* proxy0) const in needsCollision()
366 bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; in needsCollision()
367 collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); in needsCollision()
426 virtual bool needsCollision(btBroadphaseProxy* proxy0) const in needsCollision()
428 bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; in needsCollision()
429 collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); in needsCollision()
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/
DClosestNotMeConvexResultCallback.cpp29 bool ClosestNotMeConvexResultCallback::needsCollision(btBroadphaseProxy* proxy0) in needsCollision() argument
32 if (proxy0->m_clientObject == m_me) in needsCollision()
36 if (!ClosestConvexResultCallback::needsCollision(proxy0)) in needsCollision()
39 btCollisionObject* otherObj = (btCollisionObject*) proxy0->m_clientObject; in needsCollision()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/
Dcollision_wrap.h65 …virtual btBroadphasePair *addOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1);
66 …virtual void *removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispat…
67 …virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy *proxy0, btDispatcher *dispat…
97 … virtual bool needBroadphaseCollision(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) const;
176 …virtual btBroadphasePair *addOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1);
177 …virtual void *removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispat…
193 virtual bool needsCollision(btBroadphaseProxy *proxy0) const;
209 virtual bool needsCollision(btBroadphaseProxy *proxy0) const;
225 virtual bool needsCollision(btBroadphaseProxy *proxy0) const;
241 virtual bool needsCollision(btBroadphaseProxy *proxy0) const;
[all …]
/external/jmonkeyengine/engine/src/bullet-native/
DjmePhysicsSpace.cpp179 …virtual bool needBroadphaseCollision(btBroadphaseProxy* proxy0, btBroadphaseProxy * proxy1) const { in createPhysicsSpace()
182 bool collides = (proxy0->m_collisionFilterGroup & proxy1->m_collisionFilterMask) != 0; in createPhysicsSpace()
183 collides = collides && (proxy1->m_collisionFilterGroup & proxy0->m_collisionFilterMask); in createPhysicsSpace()
185 btCollisionObject* co0 = (btCollisionObject*) proxy0->m_clientObject; in createPhysicsSpace()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DPairCacheTest.java145 btBroadphaseProxy proxy0 = btBroadphaseProxy.obtain(pair.getPProxy0().getCPointer(), false); in render() local
148 btBroadphasePair collisionPair = world.collisionWorld.getPairCache().findPair(proxy0, proxy1); in render()
177 btBroadphaseProxy.free(proxy0); in render()

12