Searched refs:cpfmin (Results 1 – 10 of 10) sorted by relevance
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/include/chipmunk/ |
H A D | cpBB.h | 78 cpfmin(a.l, b.l), in cpBBMerge() 79 cpfmin(a.b, b.b), in cpBBMerge() 88 cpfmin(bb.l, v.x), in cpBBExpand() 89 cpfmin(bb.b, v.y), in cpBBExpand() 111 return (cpfmax(a.r, b.r) - cpfmin(a.l, b.l))*(cpfmax(a.t, b.t) - cpfmin(a.b, b.b)); in cpBBMergedArea() 123 cpFloat txmin = cpfmin(tx1, tx2); in cpBBSegmentQuery() 132 cpFloat tymin = cpfmin(ty1, ty2); in cpBBSegmentQuery() 137 cpFloat max = cpfmin(txmax, tymax); in cpBBSegmentQuery()
|
H A D | chipmunk_types.h | 125 static inline cpFloat cpfmin(cpFloat a, cpFloat b) in cpfmin() function 139 return cpfmin(cpfmax(f, min), max); in cpfclamp() 145 return cpfmax(0.0f, cpfmin(f, 1.0f)); in cpfclamp01()
|
H A D | chipmunk_ffi.h | 70 MAKE_REF(cpfmin);
|
H A D | cpVect.h | 175 return cpvslerp(v1, v2, cpfmin(a, omega)/omega); in cpvslerpconst()
|
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/src/ |
H A D | cpBBTree.c | 94 …return cpBBNew(bb.l + cpfmin(-x, v.x), bb.b + cpfmin(-y, v.y), bb.r + cpfmax(x, v.x), bb.t + cpfma… in GetBB() 376 …if(t_a < t_exit) t_exit = cpfmin(t_exit, SubtreeSegmentQuery(subtree->A, obj, a, b, t_exit, func, … in SubtreeSegmentQuery() 377 …if(t_b < t_exit) t_exit = cpfmin(t_exit, SubtreeSegmentQuery(subtree->B, obj, a, b, t_exit, func, … in SubtreeSegmentQuery() 379 …if(t_b < t_exit) t_exit = cpfmin(t_exit, SubtreeSegmentQuery(subtree->B, obj, a, b, t_exit, func, … in SubtreeSegmentQuery() 380 …if(t_a < t_exit) t_exit = cpfmin(t_exit, SubtreeSegmentQuery(subtree->A, obj, a, b, t_exit, func, … in SubtreeSegmentQuery()
|
H A D | cpPolyShape.c | 56 l = cpfmin(l, v.x); in cpPolyShapeCacheData() 58 b = cpfmin(b, v.y); in cpPolyShapeCacheData()
|
H A D | cpSpaceHash.c | 473 t = cpfmin(t, func(obj, other, data)); in segmentQuery_helper() 529 t_exit = cpfmin(t_exit, segmentQuery_helper(hash, &table[idx], obj, func, data)); in cpSpaceHashSegmentQuery()
|
H A D | cpArbiter.c | 431 con->bias = -bias*cpfmin(0.0f, dist + slop)/dt; in cpArbiterPreStep()
|
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/demo/ |
H A D | ChipmunkDemo.c | 163 GLfloat min = (GLfloat)cpfmin(cpfmin(r, g), b); in ColorForShape() 366 float scale = (float)cpfmin(width/640.0, height/480.0); in Reshape()
|
H A D | Sticky.c | 56 deepest = cpfmin(deepest, contacts.points[i].distance);// + 2.0f*STICK_SENSOR_THICKNESS); in StickyPreSolve()
|