diff options
| author | fschildt <florian.schildt@protonmail.com> | 2026-01-20 22:05:26 +0100 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2026-01-20 22:05:26 +0100 |
| commit | e62fd87d463e877e93701801095f9882956d165d (patch) | |
| tree | 286b4646b5772b5756511c93a75f0e6dadf19fbd /src/common | |
| parent | 028fdb5b30befb1200f9f6ea8e8e247dc7bed50a (diff) | |
breakout: add collision between paddle and ball
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/math.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
