From e1d7d245bff7dec55ed2d4d773795b3149ab683d Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 8 Mar 2018 23:15:42 +0200 Subject: Made bugs round to match the round hitbox --- src/entities/bug.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/entities') 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? } } -- cgit v1.2.3