aboutsummaryrefslogtreecommitdiff
path: root/data/diffraction.cl
diff options
context:
space:
mode:
Diffstat (limited to 'data/diffraction.cl')
-rw-r--r--data/diffraction.cl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index c3a0e637..d3fef375 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -11,7 +11,9 @@
#include <defs.h>
+#ifndef M_PI
#define M_PI ((float)(3.14159265))
+#endif
float4 quat_rot(float4 q, float4 z)
{