From af9123ca84fbb164cac9e87edf04c9c613011889 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 13 Nov 2024 12:51:12 -0500 Subject: move config parameters into config.h --- config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 1427467..9c52339 100644 --- a/config.h +++ b/config.h @@ -1,10 +1,19 @@ /* #define WINDOWS 1 */ + #define CL_TARGET_OPENCL_VERSION 110 + #define WINDOW_TITLE "Balls" +#define RMIN 0.05 /* Minimum radius. */ +#define RMAX 0.15 /* Maximum radius. */ +#define VMAX_INIT 5.0 /* Maximum initial velocity. */ + enum { FPS = 60 }; /* Frames per second. */ enum window { WIDTH = 640, HEIGHT = 640, }; +enum { KEY_QUIT = 'q' }; + +enum { NBALLS_DEFAULT = 3 }; enum { CIRCLE_POINTS = 24 }; /* Number of vertices per circle. */ -- cgit v1.2.3