Comment out garbo
This commit is contained in:
parent
285aaab102
commit
e2f1f1d5be
|
@ -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))) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user