diff options
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,6 +20,11 @@ int main() { level->sides[0] = side; while (!WindowShouldClose()) { + // Change the grid size + if (GetMouseWheelMove() != 0.0) { + gridSize += (int)(GetMouseWheelMove() * 4.0); + } + BeginDrawing(); ClearBackground(RAYWHITE); DrawText("hi world!", GetScreenWidth() / 2 - 16 * 4, |
