Home
last modified time | relevance | path

Searched refs:SIMD_PI (Results 1 – 15 of 15) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtHinge2Constraint.cpp62 setStiffness(2, SIMD_PI * SIMD_PI * 4.f); in btHinge2Constraint()
DbtUniversalConstraint.cpp60 setAngularLowerLimit(btVector3(0.f, -SIMD_HALF_PI + UNIV_EPS, -SIMD_PI + UNIV_EPS)); in btUniversalConstraint()
61 setAngularUpperLimit(btVector3(0.f, SIMD_HALF_PI - UNIV_EPS, SIMD_PI - UNIV_EPS)); in btUniversalConstraint()
DbtGeneric6DofConstraint.cpp133 if(m_currentLimitError>SIMD_PI) in testLimitValue()
135 else if(m_currentLimitError<-SIMD_PI) in testLimitValue()
143 if(m_currentLimitError>SIMD_PI) in testLimitValue()
145 else if(m_currentLimitError<-SIMD_PI) in testLimitValue()
DbtHingeConstraint.cpp306 …return btFmod(btFmod(angle, btScalar(2.0*SIMD_PI)) + btScalar(2.0*SIMD_PI), btScalar(2.0*SIMD_PI)); in btNormalizeAnglePositive()
745 if (targetAngle > SIMD_PI) // long way around. flip quat and recalculate. in setMotorTarget()
DbtConeTwistConstraint.cpp933 if (twistAngle > SIMD_PI) // long way around. flip quat and recalculate. in computeTwistLimitInfo()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtScalar.h477 #define SIMD_PI btScalar(3.1415926535897932384626433832795029) macro
478 #define SIMD_2_PI (btScalar(2.0) * SIMD_PI)
479 #define SIMD_HALF_PI (SIMD_PI * btScalar(0.5))
505 btScalar coeff_1 = SIMD_PI / 4.0f; in btAtan2Fast()
728 if(angleInRadians < -SIMD_PI) in btNormalizeAngle()
732 else if(angleInRadians > SIMD_PI) in btNormalizeAngle()
DbtMatrix3x3.h504 yaw-=SIMD_PI; in ATTRIBUTE_ALIGNED16()
506 yaw+=SIMD_PI; in ATTRIBUTE_ALIGNED16()
509 roll-=SIMD_PI; in ATTRIBUTE_ALIGNED16()
511 roll+=SIMD_PI; in ATTRIBUTE_ALIGNED16()
544 euler_out.pitch = SIMD_PI / btScalar(2.0); in ATTRIBUTE_ALIGNED16()
545 euler_out2.pitch = SIMD_PI / btScalar(2.0); in ATTRIBUTE_ALIGNED16()
551 euler_out.pitch = -SIMD_PI / btScalar(2.0); in ATTRIBUTE_ALIGNED16()
552 euler_out2.pitch = -SIMD_PI / btScalar(2.0); in ATTRIBUTE_ALIGNED16()
560 euler_out2.pitch = SIMD_PI - euler_out.pitch; in ATTRIBUTE_ALIGNED16()
DbtIDebugDraw.h236 minPs = -SIMD_PI + step;
237 maxPs = SIMD_PI;
240 else if((maxPs - minPs) >= SIMD_PI * btScalar(2.f))
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtConvexPlaneCollisionAlgorithm.cpp140 const btScalar angleLimit = 0.125f * SIMD_PI; in processCollision()
DbtConvexConvexAlgorithm.cpp610 const btScalar angleLimit = 0.125f * SIMD_PI; in processCollision()
DbtInternalEdgeUtility.cpp210 ang4 = SIMD_PI-angle2; in processTriangle()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtDiscreteDynamicsWorld.cpp1297 …getDebugDrawer()->drawArc(center, normal, ref, dbgDrawSize, dbgDrawSize, -SIMD_PI, SIMD_PI, btVect… in debugDrawConstraint()
1347 …getDebugDrawer()->drawArc(center, normal, ref, dbgDrawSize, dbgDrawSize, -SIMD_PI, SIMD_PI, btVect… in debugDrawConstraint()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtDbvt.cpp773 …t.setRotation(btQuaternion(RandUnit()*SIMD_PI*2,RandUnit()*SIMD_PI*2,RandUnit()*SIMD_PI*2).normali… in RandTransform()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBodyHelpers.cpp998 btScalar a=(SIMD_PI+2*i*SIMD_PI)/n; in CreateEllipsoid()
DbtSoftBody.cpp2816 static const btScalar maxdrift=SIMD_PI/16; in Prepare()