From 1b4fa114decd9c36324feed00296cb40088a9062 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 Nov 2010 16:17:02 +0100 Subject: Zap quats The "orientation" quaternion should not rotate the Ewald sphere, but the crystal. This cleans things up a little, removing "orientation" from "struct image". --- src/detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/detector.c') diff --git a/src/detector.c b/src/detector.c index fa3208a6..da423235 100644 --- a/src/detector.c +++ b/src/detector.c @@ -59,7 +59,7 @@ struct rvec get_q(struct image *image, double xs, double ys, q.v = k * sin(twotheta)*sin(az); q.w = k * (cos(twotheta) - 1.0); - return quat_rot(q, image->orientation); + return q; } -- cgit v1.2.3