From aedffdc2c3bb3be3371a97f0a964f854fc7478ef Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Fri, 2 Aug 2024 01:19:48 +0530 Subject: [PATCH] lmao fix --- src/collision/Grid.hx | 2 +- src/collision/GridBroadphase.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collision/Grid.hx b/src/collision/Grid.hx index d6df17d2..6c7b077e 100644 --- a/src/collision/Grid.hx +++ b/src/collision/Grid.hx @@ -10,7 +10,7 @@ class Grid { public var cellSize:Vector; // The dimensions of one cell - static var CELL_SIZE = 24; + static var CELL_SIZE = 16; public var CELL_DIV = new Vector(CELL_SIZE, CELL_SIZE); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds diff --git a/src/collision/GridBroadphase.hx b/src/collision/GridBroadphase.hx index ab6586a4..49081fb6 100644 --- a/src/collision/GridBroadphase.hx +++ b/src/collision/GridBroadphase.hx @@ -21,7 +21,7 @@ class GridBroadphase { public var cellSize:Vector; // The dimensions of one cell - static var CELL_SIZE = 24; + static var CELL_SIZE = 16; public var CELL_DIV = new Vector(CELL_SIZE, CELL_SIZE); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds