diff options
Diffstat (limited to 'src/diffraction.c')
-rw-r--r-- | src/diffraction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c index bc3e685c..f262c9d1 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -173,7 +173,7 @@ struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys, q.v = k * sin(twothetay); q.w = k - k * cos(twotheta); - return q; + return quat_rot(q, image->orientation); } |