Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleSVGPong.cpp37 SkScalar box_reflect(SkScalar v, SkScalar min, SkScalar max) { in box_reflect() function
61 return std::make_tuple(t, box_reflect(pos.fY + dY, box.fTop, box.fBottom)); in find_yintercept()
242 fBall.pos.fY = box_reflect(fBall.pos.fY, kBounds.fTop, kBounds.fBottom); in enforceConstraints()
249 fBall.pos.fX = box_reflect(fBall.pos.fX, kBounds.fLeft, kBounds.fRight); in enforceConstraints()