From e62fd87d463e877e93701801095f9882956d165d Mon Sep 17 00:00:00 2001 From: fschildt Date: Tue, 20 Jan 2026 22:05:26 +0100 Subject: breakout: add collision between paddle and ball --- src/common/math.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/math.hpp b/src/common/math.hpp index 48a5869..cad4606 100644 --- a/src/common/math.hpp +++ b/src/common/math.hpp @@ -60,7 +60,7 @@ struct Color { inline bool -Intersect_Rectangle_Circle(Rectangle rect, Circle circle) +Intersect_AABB_Circle(Rectangle rect, Circle circle) { float xmin = std::min(rect.x0, rect.x1); float xmax = std::max(rect.x0, rect.x1); -- cgit v1.2.3