summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--balls.cl6
1 files changed, 3 insertions, 3 deletions
diff --git a/balls.cl b/balls.cl
index 22c3606..41265b3 100644
--- a/balls.cl
+++ b/balls.cl
@@ -1,6 +1,6 @@
-#define G_FACTOR 3600.0
-#define G (9.81 / G_FACTOR)
-#define DENSITY 1500.0
+#define G_FACTOR 3600.0f
+#define G (9.81f / G_FACTOR)
+#define DENSITY 1500.0f
float mass(float radius);
int isCollision(float2 p1, float r1, float2 p2, float r2);