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/diffraction-gpu.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/diffraction-gpu.c') diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index bbed9a9b..6e73a52c 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -140,12 +140,6 @@ void get_diffraction_gpu(struct gpu_context *gctx, struct image *image, khigh = 1.0/(image->lambda*(1.0 - image->beam->bandwidth/2.0)); bwstep = (khigh-klow) / BWSAMPLING; - /* Orientation */ - orientation.s[0] = image->orientation.w; - orientation.s[1] = image->orientation.x; - orientation.s[2] = image->orientation.y; - orientation.s[3] = image->orientation.z; - ncells.s[0] = na; ncells.s[1] = nb; ncells.s[2] = nc; -- cgit v1.2.3