aboutsummaryrefslogtreecommitdiff
path: root/data/diffraction.cl
diff options
context:
space:
mode:
Diffstat (limited to 'data/diffraction.cl')
-rw-r--r--data/diffraction.cl9
1 files changed, 0 insertions, 9 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index cc3e91bd..63d807c2 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -80,15 +80,6 @@ float4 get_q(int x, int y, float cx, float cy, float res, float clen, float k,
}
-float range(float a)
-{
- a = a >= 0.0 ? a : 2.0*M_PI + a;
- a = a < 2.0*M_PI ? a : a - 2.0*M_PI;
-
- return a;
-}
-
-
float lattice_factor(float16 cell, float4 q,
read_only image2d_t func_a,
read_only image2d_t func_b,