summaryrefslogtreecommitdiffstats
path: root/config.h
blob: b1e175c7c09b28696b8c4ddc5ff9992e49d32707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 = 32 }; /* Number of vertices per circle. */