From e2f1f1d5be4c4cdf1f233a6fd249c05663bf0042 Mon Sep 17 00:00:00 2001 From: kts of kettek Date: Sun, 30 Jan 2022 12:55:19 -0800 Subject: [PATCH] Comment out garbo --- Engine/src/states/Game.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Engine/src/states/Game.ts b/Engine/src/states/Game.ts index 6bf76d0..7f5824d 100644 --- a/Engine/src/states/Game.ts +++ b/Engine/src/states/Game.ts @@ -472,7 +472,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment } let p = entity.position let r = entity.shape.getRadius() - let a = { + /*let a = { x: min[0], w: max[0] - min[0], y: min[1], @@ -483,8 +483,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment w: r, y: p[1], h: r, - } - console.log(a, 'vs', b) + }*/ if ( (Math.abs(min[0] - (p[0]-r)) * 2 < ((max[0]-min[0]) + r)) && (Math.abs(min[1] - (p[1]-r)) * 2 < ((max[1]-min[1]) + r))) {