Home
last modified time | relevance | path

Searched refs:aabbMin (Results 1 – 25 of 90) sorted by relevance

1234

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtOptimizedBvh.cpp58 btVector3 aabbMin,aabbMax; in build() local
59 aabbMin.setValue(btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT)); in build()
61 aabbMin.setMin(triangle[0]); in build()
63 aabbMin.setMin(triangle[1]); in build()
65 aabbMin.setMin(triangle[2]); in build()
69 node.m_aabbMinOrg = aabbMin; in build()
106 btVector3 aabbMin,aabbMax; in build() local
107 aabbMin.setValue(btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT)); in build()
109 aabbMin.setMin(triangle[0]); in build()
111 aabbMin.setMin(triangle[1]); in build()
[all …]
DbtConvexInternalShape.h88 void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const in ATTRIBUTE_ALIGNED16()
90 getAabbSlow(t,aabbMin,aabbMax); in ATTRIBUTE_ALIGNED16()
95 virtual void getAabbSlow(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const; in ATTRIBUTE_ALIGNED16()
192 void setCachedLocalAabb (const btVector3& aabbMin, const btVector3& aabbMax) in setCachedLocalAabb() argument
195 m_localAabbMin = aabbMin; in setCachedLocalAabb()
199 inline void getCachedLocalAabb (btVector3& aabbMin, btVector3& aabbMax) const in getCachedLocalAabb() argument
202 aabbMin = m_localAabbMin; in getCachedLocalAabb()
206 …inline void getNonvirtualAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax, btSc… in getNonvirtualAabb() argument
211 btTransformAabb(m_localAabbMin,m_localAabbMax,margin,trans,aabbMin,aabbMax); in getNonvirtualAabb()
218 virtual void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const;
DbtScaledBvhTriangleMeshShape.cpp54 …Shape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& … in processAllTriangles() argument
62 …scaledAabbMin[0] = m_localScaling.getX() >= 0. ? aabbMin[0] * invLocalScaling[0] : aabbMax[0] * in… in processAllTriangles()
63 …scaledAabbMin[1] = m_localScaling.getY() >= 0. ? aabbMin[1] * invLocalScaling[1] : aabbMax[1] * in… in processAllTriangles()
64 …scaledAabbMin[2] = m_localScaling.getZ() >= 0. ? aabbMin[2] * invLocalScaling[2] : aabbMax[2] * in… in processAllTriangles()
67 …scaledAabbMax[0] = m_localScaling.getX() <= 0. ? aabbMin[0] * invLocalScaling[0] : aabbMax[0] * in… in processAllTriangles()
68 …scaledAabbMax[1] = m_localScaling.getY() <= 0. ? aabbMin[1] * invLocalScaling[1] : aabbMax[1] * in… in processAllTriangles()
69 …scaledAabbMax[2] = m_localScaling.getZ() <= 0. ? aabbMin[2] * invLocalScaling[2] : aabbMax[2] * in… in processAllTriangles()
77 void btScaledBvhTriangleMeshShape::getAabb(const btTransform& trans,btVector3& aabbMin,btVector3& a… in getAabb() argument
102 aabbMin = center - extent; in getAabb()
DbtPolyhedralConvexShape.h82 void setCachedLocalAabb (const btVector3& aabbMin, const btVector3& aabbMax) in setCachedLocalAabb() argument
85 m_localAabbMin = aabbMin; in setCachedLocalAabb()
89 inline void getCachedLocalAabb (btVector3& aabbMin, btVector3& aabbMax) const in getCachedLocalAabb() argument
92 aabbMin = m_localAabbMin; in getCachedLocalAabb()
100 …inline void getNonvirtualAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax, btSc… in getNonvirtualAabb() argument
105 btTransformAabb(m_localAabbMin,m_localAabbMax,margin,trans,aabbMin,aabbMax); in getNonvirtualAabb()
110 virtual void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const;
DbtStridingMeshInterface.h48 …sAllTriangles(btInternalTriangleIndexCallback* callback,const btVector3& aabbMin,const btVector3& … in ATTRIBUTE_ALIGNED16()
51 void calculateAabbBruteForce(btVector3& aabbMin,btVector3& aabbMax); in ATTRIBUTE_ALIGNED16()
77 virtual void setPremadeAabb(const btVector3& aabbMin, const btVector3& aabbMax ) const in ATTRIBUTE_ALIGNED16()
79 (void) aabbMin; in ATTRIBUTE_ALIGNED16()
82 virtual void getPremadeAabb(btVector3* aabbMin, btVector3* aabbMax ) const in ATTRIBUTE_ALIGNED16()
84 (void) aabbMin; in ATTRIBUTE_ALIGNED16()
DbtTriangleMeshShape.cpp47 void btTriangleMeshShape::getAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax) c… in getAabb() argument
59 aabbMin = center - extent; in getAabb()
144 void btTriangleMeshShape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin in processAllTriangles() argument
152 FilteredCallback(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) in processAllTriangles()
154 m_aabbMin(aabbMin), in processAllTriangles()
171 FilteredCallback filterCallback(callback,aabbMin,aabbMax); in processAllTriangles()
173 m_meshInterface->InternalProcessAllTriangles(&filterCallback,aabbMin,aabbMax); in processAllTriangles()
DbtStaticPlaneShape.cpp37 void btStaticPlaneShape::getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const in getAabb() argument
50 aabbMin.setValue(btScalar(-BT_LARGE_FLOAT),btScalar(-BT_LARGE_FLOAT),btScalar(-BT_LARGE_FLOAT)); in getAabb()
58 void btStaticPlaneShape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,… in processAllTriangles() argument
61 btVector3 halfExtents = (aabbMax - aabbMin) * btScalar(0.5); in processAllTriangles()
63 btVector3 center = (aabbMax + aabbMin) * btScalar(0.5); in processAllTriangles()
DbtConvex2dShape.cpp55 void btConvex2dShape::getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const in getAabb() argument
57 m_childConvexShape->getAabb(t,aabbMin,aabbMax); in getAabb()
60 void btConvex2dShape::getAabbSlow(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const in getAabbSlow() argument
62 m_childConvexShape->getAabbSlow(t,aabbMin,aabbMax); in getAabbSlow()
DbtBvhTriangleMeshShape.cpp68 void btBvhTriangleMeshShape::partialRefitTree(const btVector3& aabbMin,const btVector3& aabbMax) in partialRefitTree() argument
70 m_bvh->refitPartial( m_meshInterface,aabbMin,aabbMax ); in partialRefitTree()
72 m_localAabbMin.setMin(aabbMin); in partialRefitTree()
77 void btBvhTriangleMeshShape::refitTree(const btVector3& aabbMin,const btVector3& aabbMax) in refitTree() argument
79 m_bvh->refit( m_meshInterface, aabbMin,aabbMax ); in refitTree()
162 …const btVector3& raySource, const btVector3& rayTarget, const btVector3& aabbMin, const btVector3&… in performConvexcast() argument
228 m_bvh->reportBoxCastOverlappingNodex (&myNodeCallback, raySource, rayTarget, aabbMin, aabbMax); in performConvexcast()
232 …Shape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& … in processAllTriangles() argument
237 btTriangleMeshShape::processAllTriangles(callback,aabbMin,aabbMax); in processAllTriangles()
323 m_bvh->reportAabbOverlappingNodex(&myNodeCallback,aabbMin,aabbMax); in processAllTriangles()
DbtTriangleIndexVertexArray.cpp82 void btTriangleIndexVertexArray::setPremadeAabb(const btVector3& aabbMin, const btVector3& aabbMax … in setPremadeAabb() argument
84 m_aabbMin = aabbMin; in setPremadeAabb()
89 void btTriangleIndexVertexArray::getPremadeAabb(btVector3* aabbMin, btVector3* aabbMax ) const in getPremadeAabb() argument
91 *aabbMin = m_aabbMin; in getPremadeAabb()
DbtUniformScalingShape.cpp67 void btUniformScalingShape::getAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax)… in getAabb() argument
69 getAabbSlow(trans,aabbMin,aabbMax); in getAabb()
73 void btUniformScalingShape::getAabbSlow(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax)… in getAabbSlow() argument
111 aabbMin = aabbMin1-marginVec; in getAabbSlow()
127 aabbMin[i] = tmp[i]-margin; in getAabbSlow()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtBroadphaseInterface.java61 …public btBroadphaseProxy createProxy(Vector3 aabbMin, Vector3 aabbMax, int shapeType, long userPtr… in createProxy() argument
62 …ernalTemp(CollisionJNI.btBroadphaseInterface_createProxy(swigCPtr, this, aabbMin, aabbMax, shapeTy… in createProxy()
69 …public void setAabb(btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispat… in setAabb() argument
70 …terface_setAabb(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin, aabbMax, btDispa… in setAabb()
73 public void getAabb(btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) { in getAabb() argument
74 …dphaseInterface_getAabb(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin, aabbMax); in getAabb()
77 …or3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax)… in rayTest() argument
78 …this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax); in rayTest()
81 …oid rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) { in rayTest() argument
82 …wigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin); in rayTest()
[all …]
DbtStridingMeshInterface.java61 …public void InternalProcessAllTriangles(btInternalTriangleIndexCallback callback, Vector3 aabbMin,… in InternalProcessAllTriangles() argument
62 …les(swigCPtr, this, btInternalTriangleIndexCallback.getCPtr(callback), callback, aabbMin, aabbMax); in InternalProcessAllTriangles()
65 public void calculateAabbBruteForce(Vector3 aabbMin, Vector3 aabbMax) { in calculateAabbBruteForce() argument
66 CollisionJNI.btStridingMeshInterface_calculateAabbBruteForce(swigCPtr, this, aabbMin, aabbMax); in calculateAabbBruteForce()
109 public void setPremadeAabb(Vector3 aabbMin, Vector3 aabbMax) { in setPremadeAabb() argument
110 CollisionJNI.btStridingMeshInterface_setPremadeAabb(swigCPtr, this, aabbMin, aabbMax); in setPremadeAabb()
113 public void getPremadeAabb(btVector3 aabbMin, btVector3 aabbMax) { in getPremadeAabb() argument
114 …idingMeshInterface_getPremadeAabb(swigCPtr, this, btVector3.getCPtr(aabbMin), aabbMin, btVector3.g… in getPremadeAabb()
DbtAxisSweep3InternalInt.java231 …public long addHandle(Vector3 aabbMin, Vector3 aabbMax, long pOwner, short collisionFilterGroup, s… in addHandle() argument
232 …return CollisionJNI.btAxisSweep3InternalInt_addHandle(swigCPtr, this, aabbMin, aabbMax, pOwner, co… in addHandle()
239 public void updateHandle(long handle, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispatcher) { in updateHandle() argument
240 …CollisionJNI.btAxisSweep3InternalInt_updateHandle(swigCPtr, this, handle, aabbMin, aabbMax, btDisp… in updateHandle()
248 …or3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax)… in rayTest() argument
249 …this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax); in rayTest()
252 …oid rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) { in rayTest() argument
253 …wigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin); in rayTest()
267 public void unQuantize(btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) { in unQuantize() argument
268 …3InternalInt_unQuantize(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin, aabbMax); in unQuantize()
DbtAxisSweep3InternalShort.java231 …public int addHandle(Vector3 aabbMin, Vector3 aabbMax, long pOwner, short collisionFilterGroup, sh… in addHandle() argument
232 …return CollisionJNI.btAxisSweep3InternalShort_addHandle(swigCPtr, this, aabbMin, aabbMax, pOwner, … in addHandle()
239 public void updateHandle(int handle, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispatcher) { in updateHandle() argument
240 …CollisionJNI.btAxisSweep3InternalShort_updateHandle(swigCPtr, this, handle, aabbMin, aabbMax, btDi… in updateHandle()
248 …or3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax)… in rayTest() argument
249 …this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax); in rayTest()
252 …oid rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) { in rayTest() argument
253 …wigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin); in rayTest()
267 public void unQuantize(btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) { in unQuantize() argument
268 …nternalShort_unQuantize(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin, aabbMax); in unQuantize()
DbtMultiSapBroadphase.java130 …public btMultiSapProxy(Vector3 aabbMin, Vector3 aabbMax, int shapeType, long userPtr, short collis… in btMultiSapProxy() argument
131 …this(CollisionJNI.new_btMultiSapBroadphase_btMultiSapProxy(aabbMin, aabbMax, shapeType, userPtr, c… in btMultiSapProxy()
140 …or3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax)… in rayTest() argument
141 …this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax); in rayTest()
144 …oid rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) { in rayTest() argument
145 …wigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin); in rayTest()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtDbvtBroadphase.h50 …btDbvtProxy(const btVector3& aabbMin,const btVector3& aabbMax,void* userPtr,short int collisionFil… in btDbvtProxy()
51 btBroadphaseProxy(aabbMin,aabbMax,userPtr,collisionFilterGroup,collisionFilterMask) in btDbvtProxy()
107 …btBroadphaseProxy* createProxy(const btVector3& aabbMin,const btVector3& aabbMax,int shapeType,…
109 …virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMa…
110 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0),…
111 …virtual void aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseAabbCall…
113 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
117 virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const;
139 …void setAabbForceUpdate( btBroadphaseProxy* absproxy,const btVector3& aabbMin,const btVecto…
DbtMultiSapBroadphase.h75 …btMultiSapProxy(const btVector3& aabbMin, const btVector3& aabbMax,int shapeType,void* userPtr, s… in btMultiSapProxy()
76 :btBroadphaseProxy(aabbMin,aabbMax,userPtr,collisionFilterGroup,collisionFilterMask), in btMultiSapProxy()
77 m_aabbMin(aabbMin), in btMultiSapProxy()
109 …virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int s…
111 …virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, b…
112 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
114 … btVector3& rayTo, btBroadphaseRayCallback& rayCallback,const btVector3& aabbMin=btVector3(0,0,0),…
134 virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const in getBroadphaseAabb() argument
136 aabbMin.setValue(-BT_LARGE_FLOAT,-BT_LARGE_FLOAT,-BT_LARGE_FLOAT); in getBroadphaseAabb()
DbtSimpleBroadphase.cpp87 btBroadphaseProxy* btSimpleBroadphase::createProxy( const btVector3& aabbMin, const btVector3& aa… in createProxy() argument
94 btAssert(aabbMin[0]<= aabbMax[0] && aabbMin[1]<= aabbMax[1] && aabbMin[2]<= aabbMax[2]); in createProxy()
97 …btSimpleBroadphaseProxy* proxy = new (&m_pHandles[newHandleIndex])btSimpleBroadphaseProxy(aabbMin,… in createProxy()
143 void btSimpleBroadphase::getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) … in getAabb() argument
146 aabbMin = sbp->m_aabbMin; in getAabb()
150 void btSimpleBroadphase::setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3&… in setAabb() argument
153 sbp->m_aabbMin = aabbMin; in setAabb()
157 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin,const btVector3& … in rayTest() argument
171 void btSimpleBroadphase::aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseA… in aabbTest() argument
180 if (TestAabbAgainstAabb2(aabbMin,aabbMax,proxy->m_aabbMin,proxy->m_aabbMax)) in aabbTest()
DbtBroadphaseInterface.h56 …virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int s…
58 …virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, b…
59 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const =0;
61 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0),…
63 …virtual void aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseAabbCallback…
73 virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const =0;
DbtAxisSweep3.h137 …BP_FP_INT_TYPE addHandle(const btVector3& aabbMin,const btVector3& aabbMax, void* pOwner,short int…
139 …void updateHandle(BP_FP_INT_TYPE handle, const btVector3& aabbMin,const btVector3& aabbMax,btDispa…
147 …virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int s…
149 …virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax,bt…
150 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
152 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0),…
153 …virtual void aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseAabbCallback…
158 void unQuantize(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
182 virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const in getBroadphaseAabb() argument
184 aabbMin = m_worldAabbMin; in getBroadphaseAabb()
[all …]
DbtMultiSapBroadphase.cpp96 btVector3 aabbMin,aabbMax; in buildTree() local
97 m_sapBroadphases[i]->getBroadphaseAabb(aabbMin,aabbMax); in buildTree()
98 m_optimizedAabbTree->quantize(&node.m_quantizedAabbMin[0],aabbMin,0); in buildTree()
107 btBroadphaseProxy* btMultiSapBroadphase::createProxy( const btVector3& aabbMin, const btVector3& … in createProxy() argument
112 …btMultiSapProxy* proxy = new (mem)btMultiSapProxy(aabbMin, aabbMax,shapeType,userPtr, collisionFi… in createProxy()
116 setAabb(proxy,aabbMin,aabbMax,dispatcher); in createProxy()
152 void btMultiSapBroadphase::getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax … in getAabb() argument
155 aabbMin = multiProxy->m_aabbMin; in getAabb()
159 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin,const btVector3& … in rayTest() argument
170 void btMultiSapBroadphase::setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector… in setAabb() argument
[all …]
DbtSimpleBroadphase.h130 …virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int s…
135 …virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, b…
136 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
138 …btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0),…
139 …virtual void aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseAabbCallback…
155 virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const in getBroadphaseAabb() argument
157 aabbMin.setValue(-BT_LARGE_FLOAT,-BT_LARGE_FLOAT,-BT_LARGE_FLOAT); in getBroadphaseAabb()
DbtDbvtBroadphase.cpp161 btBroadphaseProxy* btDbvtBroadphase::createProxy( const btVector3& aabbMin, in createProxy() argument
170 …btDbvtProxy* proxy=new(btAlignedAlloc(sizeof(btDbvtProxy),16)) btDbvtProxy( aabbMin,aabbMax,userP… in createProxy()
174 btDbvtAabbMm aabb = btDbvtVolume::FromMM(aabbMin,aabbMax); in createProxy()
206 void btDbvtBroadphase::getAabb(btBroadphaseProxy* absproxy,btVector3& aabbMin, btVector3& aabbMax )… in getAabb() argument
209 aabbMin = proxy->m_aabbMin; in getAabb()
227 … btVector3& rayTo, btBroadphaseRayCallback& rayCallback,const btVector3& aabbMin,const btVector3& … in rayTest() argument
237 aabbMin, in rayTest()
247 aabbMin, in rayTest()
268 void btDbvtBroadphase::aabbTest(const btVector3& aabbMin,const btVector3& aabbMax,btBroadphaseAabbC… in aabbTest() argument
272 const ATTRIBUTE_ALIGNED16(btDbvtVolume) bounds=btDbvtVolume::FromMM(aabbMin,aabbMax); in aabbTest()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtAabbUtil2.h26 SIMD_FORCE_INLINE void AabbExpand (btVector3& aabbMin, in AabbExpand() argument
31 aabbMin = aabbMin + expansionMin; in AabbExpand()
60 const btVector3 &aabbMin, const btVector3 &aabbMax) in TestTriangleAgainstAabb2() argument
67 if (btMax(btMax(p1[0], p2[0]), p3[0]) < aabbMin[0]) return false; in TestTriangleAgainstAabb2()
70 if (btMax(btMax(p1[2], p2[2]), p3[2]) < aabbMin[2]) return false; in TestTriangleAgainstAabb2()
73 if (btMax(btMax(p1[1], p2[1]), p3[1]) < aabbMin[1]) return false; in TestTriangleAgainstAabb2()
127 const btVector3& aabbMin, in btRayAabb() argument
131 btVector3 aabbHalfExtent = (aabbMax-aabbMin)* btScalar(0.5); in btRayAabb()
132 btVector3 aabbCenter = (aabbMax+aabbMin)* btScalar(0.5); in btRayAabb()

1234