diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-03-30 03:30:44 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-03-30 03:30:44 (EDT) |
commit | 6069e79e7f2b7a0c2479096bec4cf839811fac8e (patch) | |
tree | aafd62df7b858519c3f1315befc5d0752d06772c | |
parent | 508f37faa701c8ad0cf8d9271bd489ba9978e765 (diff) | |
download | dodge-balls-6069e79e7f2b7a0c2479096bec4cf839811fac8e.zip dodge-balls-6069e79e7f2b7a0c2479096bec4cf839811fac8e.tar.gz dodge-balls-6069e79e7f2b7a0c2479096bec4cf839811fac8e.tar.bz2 |
ball: Improve convex corner collisions
This breaks concave collisions, however.
-rw-r--r-- | src/ball.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ db_balls_collisions(struct db_ball *ball) line_x2, line_y2, &col_x, &col_y)){ _db_ball_bounce(ball, col_x, col_y); + break; } } } |