diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-03-08 23:15:42 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-03-08 23:15:42 +0200 |
commit | e1d7d245bff7dec55ed2d4d773795b3149ab683d (patch) | |
tree | 8ab350082ce93249b2bfcc23bfdb2cc5d59593be /src | |
parent | 544c030b80d4d7b9a3b00711ff21b2592275a7e8 (diff) |
Made bugs round to match the round hitbox
Diffstat (limited to 'src')
-rw-r--r-- | src/entities/bug.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/entities/bug.rs b/src/entities/bug.rs index d2d5c2e..424e195 100644 --- a/src/entities/bug.rs +++ b/src/entities/bug.rs @@ -37,8 +37,6 @@ impl Bug { } fn touches(&self, point: Vec2d) -> bool { - let rx = 35.; - let ry = 16.; - self.pos.distance(point) <= 45. // Some better hit box modelling might be nice? + self.pos.distance(point) <= 75. // Some better hit box modelling might be nice? } } |