summaryrefslogtreecommitdiffstats
path: root/balls.cl
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 21:18:45 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 21:18:45 -0400
commit341e7010688bce33c8710ac660d2ef9552420566 (patch)
tree9a24cf20b3148055d5969094d7dfaccba1fda3d3 /balls.cl
parentb0419e52199baed105cf7f0c6c096d58d49ab5c3 (diff)
downloadballs-341e7010688bce33c8710ac660d2ef9552420566.zip
move FPS into config.h
Diffstat (limited to 'balls.cl')
-rw-r--r--balls.cl3
1 files changed, 2 insertions, 1 deletions
diff --git a/balls.cl b/balls.cl
index d0d234c..3ca7de7 100644
--- a/balls.cl
+++ b/balls.cl
@@ -1,4 +1,5 @@
-#define FPS 60.0f
+#include "config.h"
+
#define G (9.81f / FPS / FPS)
#define DENSITY 1500.0f