Home
last modified time | relevance | path

Searched refs:btAssert (Results 1 – 25 of 110) sorted by relevance

12345

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtHeightfieldTerrainShape.cpp62 btAssert(heightStickWidth > 1);// && "bad width"); in initialize()
63 btAssert(heightStickLength > 1);// && "bad length"); in initialize()
64 btAssert(heightfieldData);// && "null heightfield data"); in initialize()
66 btAssert(minHeight <= maxHeight);// && "bad min/max height"); in initialize()
67 btAssert(upAxis >= 0 && upAxis < 3);// && "bad upAxis--should be in range [0,2]"); in initialize()
68btAssert(hdt != PHY_UCHAR || hdt != PHY_FLOAT || hdt != PHY_SHORT);// && "Bad height data type enu… in initialize()
111 btAssert(0);// && "Bad m_upAxis"); in initialize()
176 btAssert(!"Bad m_heightDataType"); in getRawHeightFieldValue()
189 btAssert(x>=0); in getVertex()
190 btAssert(y>=0); in getVertex()
[all …]
DbtOptimizedBvh.cpp100 btAssert(partId < (1<<MAX_NUM_PARTS_IN_BITS)); in build()
101 btAssert(triangleIndex < (1<<(31-MAX_NUM_PARTS_IN_BITS))); in build()
103 btAssert(triangleIndex>=0); in build()
236 btAssert(m_useQuantization); in refitPartial()
238 btAssert(aabbMin.getX() > m_bvhAabbMin.getX()); in refitPartial()
239 btAssert(aabbMin.getY() > m_bvhAabbMin.getY()); in refitPartial()
240 btAssert(aabbMin.getZ() > m_bvhAabbMin.getZ()); in refitPartial()
242 btAssert(aabbMax.getX() < m_bvhAabbMax.getX()); in refitPartial()
243 btAssert(aabbMax.getY() < m_bvhAabbMax.getY()); in refitPartial()
244 btAssert(aabbMax.getZ() < m_bvhAabbMax.getZ()); in refitPartial()
[all …]
DbtConvexPointCloudShape.cpp114 btAssert (0); in getEdge()
130 btAssert(0); in getPlane()
136 btAssert(0); in isInside()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtGImpactShape.h364 btAssert(0); in get_primitive_triangle()
422 btAssert(shape->isConvex()); in addChildShape()
430 btAssert(shape->isConvex()); in addChildShape()
466 btAssert(m_childTransforms.size() == m_childShapes.size()); in getChildTransform()
476 btAssert(m_childTransforms.size() == m_childShapes.size()); in setChildTransform()
497 btAssert(0); in getBulletTriangle()
503 btAssert(0); in getBulletTetrahedron()
770 btAssert(0); in getChildShape()
780 btAssert(0); in getChildShape()
788 btAssert(0); in getChildTransform()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtGhostObject.cpp29 btAssert(!m_overlappingObjects.size()); in ~btGhostObject()
36 btAssert(otherObject); in addOverlappingObjectInternal()
49 btAssert(otherObject); in removeOverlappingObjectInternal()
73 btAssert(actualThisProxy); in addOverlappingObjectInternal()
76 btAssert(otherObject); in addOverlappingObjectInternal()
89 btAssert(actualThisProxy); in removeOverlappingObjectInternal()
91 btAssert(otherObject); in removeOverlappingObjectInternal()
DbtCompoundCompoundCollisionAlgorithm.cpp37 btAssert (col0ObjWrap->getCollisionShape()->isCompound()); in btCompoundCompoundCollisionAlgorithm()
40 btAssert (col1ObjWrap->getCollisionShape()->isCompound()); in btCompoundCompoundCollisionAlgorithm()
134 btAssert(childIndex0>=0); in Process()
135 btAssert(childIndex1>=0); in Process()
139 btAssert(childIndex0<compoundShape0->getNumChildShapes()); in Process()
142 btAssert(childIndex1<compoundShape1->getNumChildShapes()); in Process()
186 btAssert(pair); in Process()
190 btAssert(colAlgo); in Process()
287 btAssert (col0ObjWrap->getCollisionShape()->isCompound()); in processCollision()
288 btAssert (col1ObjWrap->getCollisionShape()->isCompound()); in processCollision()
[all …]
DbtHashedSimplePairCache.cpp90 btAssert(index < m_overlappingPairArray.size()); in findPair()
196 btAssert(pairIndex < m_overlappingPairArray.size()); in removeOverlappingPair()
200 btAssert(index != BT_SIMPLE_NULL_PAIR); in removeOverlappingPair()
211 btAssert(m_next[previous] == pairIndex); in removeOverlappingPair()
238 btAssert(index != BT_SIMPLE_NULL_PAIR); in removeOverlappingPair()
249 btAssert(m_next[previous] == lastPairIndex); in removeOverlappingPair()
DbtCollisionDispatcher.cpp54 btAssert(m_doubleDispatch[i][j]); in btCollisionDispatcher()
100 btAssert(0); in getNewManifold()
127 btAssert(findIndex < m_manifoldsPtr.size()); in releaseManifold()
173 btAssert(body0); in needsCollision()
174 btAssert(body1); in needsCollision()
DbtCompoundCollisionAlgorithm.cpp36 btAssert (colObjWrap->getCollisionShape()->isCompound()); in btCompoundCollisionAlgorithm()
49 btAssert (colObjWrap->getCollisionShape()->isCompound()); in preallocateChildAlgorithms()
119 btAssert(index>=0); in ProcessChildShape()
121 btAssert(index<compoundShape->getNumChildShapes()); in ProcessChildShape()
221 btAssert (colObjWrap->getCollisionShape()->isCompound()); in processCollision()
329 btAssert(0); in calculateTimeOfImpact()
334 btAssert (colObj->getCollisionShape()->isCompound()); in calculateTimeOfImpact()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtQuantizedBvh.h75 btAssert(!isLeafNode()); in ATTRIBUTE_ALIGNED16()
80 btAssert(isLeafNode()); in ATTRIBUTE_ALIGNED16()
88 btAssert(isLeafNode()); in ATTRIBUTE_ALIGNED16()
355 btAssert(m_useQuantization); in ATTRIBUTE_ALIGNED16()
357 btAssert(point.getX() <= m_bvhAabbMax.getX()); in ATTRIBUTE_ALIGNED16()
358 btAssert(point.getY() <= m_bvhAabbMax.getY()); in ATTRIBUTE_ALIGNED16()
359 btAssert(point.getZ() <= m_bvhAabbMax.getZ()); in ATTRIBUTE_ALIGNED16()
361 btAssert(point.getX() >= m_bvhAabbMin.getX()); in ATTRIBUTE_ALIGNED16()
362 btAssert(point.getY() >= m_bvhAabbMin.getY()); in ATTRIBUTE_ALIGNED16()
363 btAssert(point.getZ() >= m_bvhAabbMin.getZ()); in ATTRIBUTE_ALIGNED16()
[all …]
DbtOverlappingPairCache.cpp165 btAssert(index < m_overlappingPairArray.size()); in findPair()
296 btAssert(pair->m_pProxy0->getUid() == proxyId1); in removeOverlappingPair()
297 btAssert(pair->m_pProxy1->getUid() == proxyId2); in removeOverlappingPair()
300 btAssert(pairIndex < m_overlappingPairArray.size()); in removeOverlappingPair()
304 btAssert(index != BT_NULL_PAIR); in removeOverlappingPair()
315 btAssert(m_next[previous] == pairIndex); in removeOverlappingPair()
345 btAssert(index != BT_NULL_PAIR); in removeOverlappingPair()
356 btAssert(m_next[previous] == lastPairIndex); in removeOverlappingPair()
465 btAssert(proxy0 != proxy1); in addOverlappingPair()
DbtSimpleBroadphase.cpp35 btAssert(&m_pHandles[i] != &m_pHandles[j]); in validate()
91 btAssert(0); in createProxy()
94 btAssert(aabbMin[0]<= aabbMax[0] && aabbMin[1]<= aabbMax[1] && aabbMin[2]<= aabbMax[2]); in createProxy()
108 btAssert(0); in processOverlap()
231 btAssert(proxy0 != proxy1); in calculateOverlappingPairs()
306 btAssert(!pair.m_algorithm); in calculateOverlappingPairs()
DbtAxisSweep3.cpp27 btAssert(maxHandles > 1 && maxHandles < 32767); in btAxisSweep3()
36 btAssert(maxHandles > 1 && maxHandles < 2147483647); in bt32BitAxisSweep3()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtAlignedObjectArray.h156 btAssert(n>=0); in at()
157 btAssert(n<size()); in at()
163 btAssert(n>=0); in at()
164 btAssert(n<size()); in at()
170 btAssert(n>=0);
171 btAssert(n<size());
177 btAssert(n>=0);
178 btAssert(n<size());
195 btAssert(m_size>0); in pop_back()
DbtPoolAllocator.h74 btAssert(!size || size<=m_elemSize); in allocate()
75 btAssert(m_freeCount>0); in allocate()
96btAssert((unsigned char*)ptr >= m_pool && (unsigned char*)ptr < m_pool + m_maxElements * m_elemSiz… in freeMemory()
DbtScalar.h107 …#define btAssert(x) { if(!(x)){printf("Assert "__FILE__ ":%u ("#x")\n", __LINE__);__debugbreak(); … macro
110 #define btAssert assert macro
113 #define btAssert(x) macro
135 #define btAssert(x) {if(!(x)){printf("Assert "__FILE__ ":%u ("#x")\n", __LINE__);spu_hcmpeq(0,0);}} macro
137 #define btAssert assert macro
141 #define btAssert(x) macro
161 #define btAssert assert macro
163 #define btAssert(x) macro
219 #define btAssert(x)\ macro
228 #define btAssert assert macro
[all …]
DbtStackAlloc.h49 btAssert(usedsize==0); in destroy()
76 btAssert(0); in allocate()
91 btAssert(block==current); in endBlock()
DbtConvexHull.cpp66 btAssert(btFabs(quotient) > btScalar(0.000001)); in ThreePlaneIntersection()
219 btAssert(count); in maxdirfiltered()
227 btAssert(m!=-1); in maxdirfiltered()
287 btAssert(0); in maxdirsterid()
372 btAssert(0); in neib()
384 btAssert(m_tris[s->neib(a,b)]->neib(b,a) == s->id); in b2bfix()
385 btAssert(m_tris[t->neib(a,b)]->neib(b,a) == t->id); in b2bfix()
404 btAssert(m_tris[t->id]==t); in checkit()
418 btAssert(a!=b); in checkit()
419 btAssert( m_tris[t->n[i]]->neib(b,a) == t->id); in checkit()
[all …]
DbtHashMap.h309 btAssert(index != BT_HASH_NULL); in remove()
320 btAssert(m_next[previous] == pairIndex); in remove()
346 btAssert(index != BT_HASH_NULL); in remove()
357 btAssert(m_next[previous] == lastPairIndex); in remove()
386 btAssert(index < m_valueArray.size()); in getAtIndex()
393 btAssert(index < m_valueArray.size()); in getAtIndex()
DbtMatrixX.h283 btAssert(rows() == cols()); in setIdentity()
346 btAssert(cols() == other.rows());
407 btAssert (numRows>0 && numRowsOther>0 && B && C); in multiply2_p8r()
444 btAssert(rowend+1-rowstart == block.rows()); in setSubMatrix()
445 btAssert(colend+1-colstart == block.cols()); in setSubMatrix()
456 btAssert(rowend+1-rowstart == block.rows()); in setSubMatrix()
457 btAssert(colend+1-colstart == block.cols()); in setSubMatrix()
DbtSerializer.h291 btAssert(strncmp(cp, "TYPE", 4)==0); intPtr++; in initDNA()
319 btAssert(strncmp(cp, "TLEN", 4)==0); intPtr++; in initDNA()
346 btAssert(strncmp(cp, "STRC", 4)==0); intPtr++; in initDNA()
418 btAssert(0); in m_totalSize()
425 btAssert(0); in m_totalSize()
583 btAssert(!findPointer(oldPtr)); in finalizeChunk()
606 btAssert(m_currentSize<m_totalSize); in internalAlloc()
778 btAssert(0); in getUniquePointer()
791 btAssert(!findPointer(oldPtr)); in finalizeChunk()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtGeneric6DofSpringConstraint.cpp51 btAssert((index >= 0) && (index < 6)); in enableSpring()
67 btAssert((index >= 0) && (index < 6)); in setStiffness()
74 btAssert((index >= 0) && (index < 6)); in setDamping()
98 btAssert((index >= 0) && (index < 6)); in setEquilibriumPoint()
112 btAssert((index >= 0) && (index < 6)); in setEquilibriumPoint()
DbtJacobianEntry.h52 btAssert(m_Adiag > btScalar(0.0)); in ATTRIBUTE_ALIGNED16()
69 btAssert(m_Adiag > btScalar(0.0)); in ATTRIBUTE_ALIGNED16()
85 btAssert(m_Adiag > btScalar(0.0)); in ATTRIBUTE_ALIGNED16()
103 btAssert(m_Adiag > btScalar(0.0)); in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
DbtPersistentManifold.h127 btAssert(index < m_cachedPoints); in ATTRIBUTE_ALIGNED128()
133 btAssert(index < m_cachedPoints); in ATTRIBUTE_ALIGNED128()
180 btAssert(m_pointCache[lastUsedIndex].m_userPersistentData==0); in ATTRIBUTE_ALIGNED128()
190 btAssert(validContactDistance(newPoint)); in ATTRIBUTE_ALIGNED128()
202 btAssert(lifeTime>=0); in ATTRIBUTE_ALIGNED128()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyConstraint.h114 btAssert(dof>=0); in internalSetAppliedImpulse()
115 btAssert(dof < getNumRows()); in internalSetAppliedImpulse()
121 btAssert(dof>=0); in getAppliedImpulse()
122 btAssert(dof < getNumRows()); in getAppliedImpulse()

12345