OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:b2_linearSlop
(Results
1 - 14
of
14
) sorted by null
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Common/
b2Settings.h
67
#define
b2_linearSlop
0.005f
76
#define b2_polygonRadius (2.0f *
b2_linearSlop
)
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/
b2ChainShape.cpp
46
b2Assert(b2DistanceSquared(v1, v2) >
b2_linearSlop
*
b2_linearSlop
);
66
b2Assert(b2DistanceSquared(vertices[i-1], vertices[i]) >
b2_linearSlop
*
b2_linearSlop
);
b2PolygonShape.cpp
141
if (b2DistanceSquared(v, ps[j]) < ((0.5f *
b2_linearSlop
) * (0.5f *
b2_linearSlop
)))
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/
b2PulleyJoint.cpp
106
if (lengthA > 10.0f *
b2_linearSlop
)
115
if (lengthB > 10.0f *
b2_linearSlop
)
209
if (lengthA > 10.0f *
b2_linearSlop
)
218
if (lengthB > 10.0f *
b2_linearSlop
)
259
return linearError <
b2_linearSlop
;
b2DistanceJoint.cpp
91
if (length >
b2_linearSlop
)
220
return b2Abs(C) <
b2_linearSlop
;
b2RopeJoint.cpp
85
if (m_length >
b2_linearSlop
)
193
return length - m_maxLength <
b2_linearSlop
;
b2PrismaticJoint.cpp
201
if (b2Abs(m_upperTranslation - m_lowerTranslation) < 2.0f *
b2_linearSlop
)
401
if (b2Abs(m_upperTranslation - m_lowerTranslation) < 2.0f *
b2_linearSlop
)
411
C2 = b2Clamp(translation - m_lowerTranslation +
b2_linearSlop
, -b2_maxLinearCorrection, 0.0f);
418
C2 = b2Clamp(translation - m_upperTranslation -
b2_linearSlop
, 0.0f, b2_maxLinearCorrection);
484
return linearError <=
b2_linearSlop
&& angularError <= b2_angularSlop;
b2WeldJoint.cpp
305
return positionError <=
b2_linearSlop
&& angularError <= b2_angularSlop;
b2WheelJoint.cpp
326
return b2Abs(C) <=
b2_linearSlop
;
b2GearJoint.cpp
367
return linearError <
b2_linearSlop
;
b2RevoluteJoint.cpp
374
return positionError <=
b2_linearSlop
&& angularError <= b2_angularSlop;
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
b2TimeOfImpact.cpp
278
float32 target = b2Max(
b2_linearSlop
, totalRadius - 3.0f *
b2_linearSlop
);
279
float32 tolerance = 0.25f *
b2_linearSlop
;
b2CollidePolygon.cpp
138
const float32 k_tol = 0.1f *
b2_linearSlop
;
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
b2ContactSolver.cpp
718
float32 C = b2Clamp(b2_baumgarte * (separation +
b2_linearSlop
), -b2_maxLinearCorrection, 0.0f);
744
// We can't expect minSpeparation >= -
b2_linearSlop
because we don't
745
// push the separation above -
b2_linearSlop
.
746
return minSeparation >= -3.0f *
b2_linearSlop
;
809
float32 C = b2Clamp(b2_toiBaugarte * (separation +
b2_linearSlop
), -b2_maxLinearCorrection, 0.0f);
835
// We can't expect minSpeparation >= -
b2_linearSlop
because we don't
836
// push the separation above -
b2_linearSlop
.
837
return minSeparation >= -1.5f *
b2_linearSlop
;
Completed in 108 milliseconds