diff options
author | Thomas White <taw@physics.org> | 2010-02-08 12:08:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-08 12:08:55 +0100 |
commit | 5c2b33d79e64d42d8be2a274b20796c86418c688 (patch) | |
tree | 5268147e6679e8e8f5912ad6d79c54dcdc8fd70d /src/diffraction.c | |
parent | 8e290108689f653a39dcd8769d7556652aee7dcd (diff) |
Don't forget to rotate the q vectors!
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); } |