Home
last modified time | relevance | path

Searched refs:cpfmin (Results 1 – 10 of 10) sorted by relevance

/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/include/chipmunk/
H A DcpBB.h78 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 Dchipmunk_types.h125 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 Dchipmunk_ffi.h70 MAKE_REF(cpfmin);
H A DcpVect.h175 return cpvslerp(v1, v2, cpfmin(a, omega)/omega); in cpvslerpconst()
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/src/
H A DcpBBTree.c94 …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 DcpPolyShape.c56 l = cpfmin(l, v.x); in cpPolyShapeCacheData()
58 b = cpfmin(b, v.y); in cpPolyShapeCacheData()
H A DcpSpaceHash.c473 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 DcpArbiter.c431 con->bias = -bias*cpfmin(0.0f, dist + slop)/dt; in cpArbiterPreStep()
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/demo/
H A DChipmunkDemo.c163 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 DSticky.c56 deepest = cpfmin(deepest, contacts.points[i].distance);// + 2.0f*STICK_SENSOR_THICKNESS); in StickyPreSolve()