7
0
mirror of https://gitlab.com/raylibtemplates/rt.git synced 2026-06-16 13:55:11 -04:00

Separate constants into new file

This commit is contained in:
Maple Redleaf
2025-12-19 12:22:18 -06:00
parent 651fb47cd4
commit 4d94c9b4b7
3 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
#include "consts.h"
#include "raylib.h"
#include "raymath.h"
#include <math.h>
@@ -9,11 +10,6 @@
#include <emscripten/emscripten.h>
#endif
#define SCREEN_WIDTH (320)
#define SCREEN_HEIGHT (240)
#define WIN_WIDTH (1280)
#define WIN_HEIGHT (720)
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))