Home
last modified time | relevance | path

Searched refs:btFabs (Results 1 – 25 of 41) sorted by relevance

12

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtPolarDecomposition.cpp8 return btFabs(a[0][i]) + btFabs(a[1][i]) + btFabs(a[2][i]); in abs_column_sum()
13 return btFabs(a[i][0]) + btFabs(a[i][1]) + btFabs(a[i][2]); in abs_row_sum()
DbtMatrix3x3.h501 if (btFabs(pitch)==SIMD_HALF_PI) in ATTRIBUTE_ALIGNED16()
535 if (btFabs(m_el[2].x()) >= 1) in ATTRIBUTE_ALIGNED16()
623 if (btFabs(det)>SIMD_EPSILON) in ATTRIBUTE_ALIGNED16()
669 btScalar max = btFabs(m_el[0][1]); in ATTRIBUTE_ALIGNED16()
670 btScalar v = btFabs(m_el[0][2]); in ATTRIBUTE_ALIGNED16()
677 v = btFabs(m_el[1][2]); in ATTRIBUTE_ALIGNED16()
686 btScalar t = threshold * (btFabs(m_el[0][0]) + btFabs(m_el[1][1]) + btFabs(m_el[2][2])); in ATTRIBUTE_ALIGNED16()
994 btFabs(m_el[0].x()), btFabs(m_el[0].y()), btFabs(m_el[0].z()), in absolute()
995 btFabs(m_el[1].x()), btFabs(m_el[1].y()), btFabs(m_el[1].z()), in absolute()
996 btFabs(m_el[2].x()), btFabs(m_el[2].y()), btFabs(m_el[2].z())); in absolute()
DbtVector3.h369 btFabs(m_floats[0]), in ATTRIBUTE_ALIGNED16()
370 btFabs(m_floats[1]), in ATTRIBUTE_ALIGNED16()
371 btFabs(m_floats[2])); in ATTRIBUTE_ALIGNED16()
1117 btFabs(m_floats[0]), in absolute4()
1118 btFabs(m_floats[1]), in absolute4()
1119 btFabs(m_floats[2]), in absolute4()
1120 btFabs(m_floats[3])); in absolute4()
1274 if (btFabs(n[2]) > SIMDSQRT12) { in btPlaneSpace1()
DbtScalar.h404 SIMD_FORCE_INLINE btScalar btFabs(btScalar x) { return fabs(x); } in btFabs() function
450 SIMD_FORCE_INLINE btScalar btFabs(btScalar x) { return fabsf(x); } in btFabs() function
507 btScalar abs_y = btFabs(y); in btAtan2Fast()
519 SIMD_FORCE_INLINE bool btFuzzyZero(btScalar x) { return btFabs(x) < SIMD_EPSILON; } in btFuzzyZero()
DbtMatrixX.h78 norm = btFabs((*this)[0]); in nrm2()
92 T absxi = btFabs((*this)[ix]); in nrm2()
DbtGeometryUtil.cpp163 if (btFabs(quotient) > btScalar(0.000001)) in getVerticesFromPlaneEquations()
DbtConvexHull.cpp66 btAssert(btFabs(quotient) > btScalar(0.000001)); in ThreePlaneIntersection()
1007 btScalar dx = btFabs(x - px ); in CleanupVertices()
1008 btScalar dy = btFabs(y - py ); in CleanupVertices()
1009 btScalar dz = btFabs(z - pz ); in CleanupVertices()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtBoxBoxDetector.cpp209 if (btFabs(a+q) > SIMD_EPSILON) in cullPoints2()
239 diff = btFabs (A[i]-a); in cullPoints2()
292 Q11 = btFabs(R11); Q12 = btFabs(R12); Q13 = btFabs(R13); in dBoxBox2()
293 Q21 = btFabs(R21); Q22 = btFabs(R22); Q23 = btFabs(R23); in dBoxBox2()
294 Q31 = btFabs(R31); Q32 = btFabs(R32); Q33 = btFabs(R33); in dBoxBox2()
307 s2 = btFabs(expr1) - (expr2); \ in dBoxBox2()
334 s2 = btFabs(expr1) - (expr2); \ in dBoxBox2()
484 anr[0] = btFabs (nr[0]); in dBoxBox2()
485 anr[1] = btFabs (nr[1]); in dBoxBox2()
486 anr[2] = btFabs (nr[2]); in dBoxBox2()
DbtInternalEdgeUtility.cpp516 if (btFabs(info->m_edgeV0V1Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
529 if (btFabs(info->m_edgeV1V2Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
542 if (btFabs(info->m_edgeV2V0Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
559 if (btFabs(info->m_edgeV0V1Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
639 if (btFabs(info->m_edgeV1V2Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
725 if (btFabs(info->m_edgeV2V0Angle)< triangleInfoMapPtr->m_maxEdgeAngleThreshold) in btAdjustInternalEdgeContacts()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtBoxCollision.h41 #define BT_GREATER(x, y) btFabs(x) > (y)
181 m_AR[i][j] = 1e-6f + btFabs(m_R1to0[i][j]); in ATTRIBUTE_ALIGNED16()
468 if(btFabs(f) > extents[1]*btFabs(vdir[2]) + extents[2]*btFabs(vdir[1])) return false; in ATTRIBUTE_ALIGNED16()
470 if(btFabs(f) > extents[0]*btFabs(vdir[2]) + extents[2]*btFabs(vdir[0]))return false; in ATTRIBUTE_ALIGNED16()
472 if(btFabs(f) > extents[0]*btFabs(vdir[1]) + extents[1]*btFabs(vdir[0]))return false; in ATTRIBUTE_ALIGNED16()
Dgim_box_collision.h419 if(btFabs(f) > extents[1]*btFabs(vdir[2]) + extents[2]*btFabs(vdir[1])) return false; in collide_ray()
421 if(btFabs(f) > extents[0]*btFabs(vdir[2]) + extents[2]*btFabs(vdir[0]))return false; in collide_ray()
423 if(btFabs(f) > extents[0]*btFabs(vdir[1]) + extents[1]*btFabs(vdir[0]))return false; in collide_ray()
Dgim_contact.cpp90 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
Dgim_math.h110 #define GIM_GREATER(x, y) btFabs(x) > (y)
DbtContactProcessing.cpp123 if(btFabs(pcontact->m_depth - scontact->m_depth)<CONTACT_DIFF_EPSILON) in merge_contacts()
DbtGeometryOperations.h95 if(btFabs(_dotdir)<PLANEDIREPSILON) in bt_line_plane_collision()
Dgim_tri_collision.h257 if(btFabs(_axe2[_i2])<G_EPSILON) in get_uv_parameters()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSolve2LinearConstraint.cpp56 btScalar len = btFabs(normalA.length()) - btScalar(1.); in resolveUnilateralPairConstraint()
57 if (btFabs(len) >= SIMD_EPSILON) in resolveUnilateralPairConstraint()
145 btScalar len = btFabs(normalA.length()) - btScalar(1.); in resolveBilateralPairConstraint()
146 if (btFabs(len) >= SIMD_EPSILON) in resolveBilateralPairConstraint()
DbtTypedConstraint.h353 btScalar diffLo = btFabs(btNormalizeAngle(angleLowerLimitInRadians - angleInRadians)); in btAdjustAngleToLimits()
354 btScalar diffHi = btFabs(btNormalizeAngle(angleUpperLimitInRadians - angleInRadians)); in btAdjustAngleToLimits()
359 btScalar diffHi = btFabs(btNormalizeAngle(angleInRadians - angleUpperLimitInRadians)); in btAdjustAngleToLimits()
360 btScalar diffLo = btFabs(btNormalizeAngle(angleInRadians - angleLowerLimitInRadians)); in btAdjustAngleToLimits()
DbtGeneric6DofSpringConstraint.cpp134 m_linearLimits.m_maxMotorForce[i] = btFabs(force) / info->fps; in internalUpdateSprings()
149 m_angularLimits[i].m_maxMotorForce = btFabs(force) / info->fps; in internalUpdateSprings()
DbtContactConstraint.cpp130 btAssert(btFabs(normalLenSqr) < btScalar(1.1)); in resolveSingleBilateral()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBodyInternals.h238 return(btFabs(d[0])+btFabs(d[1])+btFabs(d[2])); in ClusterMetric()
445 if(btFabs(v)<accuracy) return(t);
568 if(btFabs(a[p][q])<btFabs(a[0][2])) { p=0;q=2; }
569 if(btFabs(a[p][q])<btFabs(a[1][2])) { p=1;q=2; }
570 if(btFabs(a[p][q])>accuracy)
573 const btScalar z=btFabs(w);
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtConvexTriangleMeshShape.cpp236 btScalar vol = btFabs((triangle[0] - ref).triple(triangle[1] - ref, triangle[2] - ref)); in calculatePrincipalAxisTransform()
273 btScalar volNeg = -btFabs(a.triple(b, c)) * btScalar(1. / 6); in calculatePrincipalAxisTransform()
DbtConvexPolyhedron.cpp203 const btScalar dist = btFabs(m_localCenter.dot(Normal) + m_faces[i].m_plane[3]); in initialize()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/
DbtKinematicCharacterController.cpp652 if(m_verticalVelocity < 0.0 && btFabs(m_verticalVelocity) > btFabs(m_fallSpeed)) in playerStep()
654 m_verticalVelocity = -btFabs(m_fallSpeed); in playerStep()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
DLinearMath.java70 public static float btFabs(float x) { in btFabs() method in LinearMath
71 return LinearMathJNI.btFabs(x); in btFabs()

12