Searched refs:distY (Results 1 – 1 of 1) sorted by relevance
281 auto distY = std::abs(circle.center.y - (box.min.y + halfRectHeight)); in circleAndBoxCollide() local282 if (distY > (halfRectHeight + circle.radius)) { in circleAndBoxCollide()286 if (distX <= halfRectWidth || distY <= halfRectHeight) { in circleAndBoxCollide()291 auto dy = distY - halfRectHeight; in circleAndBoxCollide()