aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-15 16:17:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:05 +0100
commit1b4fa114decd9c36324feed00296cb40088a9062 (patch)
tree2d313458c29c6f4ac5de5513639020558eaaa556 /src/indexamajig.c
parentfcde5d4f2fd95845402b86c3838f15b6632a8071 (diff)
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".
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 05a91683..984c1e45 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -217,12 +217,6 @@ static struct image *get_simage(struct image *template, int alternate)
image->f0_available = 0;
image->f0 = 1.0;
- /* View head-on (unit cell is tilted) */
- image->orientation.w = 1.0;
- image->orientation.x = 0.0;
- image->orientation.y = 0.0;
- image->orientation.z = 0.0;
-
/* Detector geometry for the simulation
* - not necessarily the same as the original. */
image->width = 1024;
@@ -329,12 +323,6 @@ static void process_image(void *pp, int cookie)
image.n_cpeaks = 0;
image.det = pargs->static_args.det;
- /* View head-on (unit cell is tilted) */
- image.orientation.w = 1.0;
- image.orientation.x = 0.0;
- image.orientation.y = 0.0;
- image.orientation.z = 0.0;
-
STATUS("Processing '%s'\n", image.filename);
pargs->sane = 0;