diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-03-02 17:46:14 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-03-02 17:46:14 +0100 |
commit | bb9c12bb456f750ae465b9c5a6c1ec47f3f8fb08 (patch) | |
tree | a121975459440fed3f134ba0712c09146f9a85bd | |
parent | 8579b1335d90170c64d685db17ac21af269c40f7 (diff) |
Don't need this function any more
-rw-r--r-- | data/diffraction.cl | 9 |
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, |