@ -384,13 +384,17 @@ static void grid_correct_for_holes(GameState *gs, struct Entity *grid)
V2 cur_local_pos = entity_shape_pos(N);
const V2 dirs[] = {
(V2) {
.x = -1.0f, .y = 0.0f},
.x = -1.0f, .y = 0.0f
},
.x = 1.0f, .y = 0.0f},
.x = 1.0f, .y = 0.0f
.x = 0.0f, .y = 1.0f},
.x = 0.0f, .y = 1.0f
.x = 0.0f, .y = -1.0f},
.x = 0.0f, .y = -1.0f
};
int num_dirs = sizeof(dirs) / sizeof(*dirs);