aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-03 11:59:34 +0200
committerThomas White <taw@physics.org>2010-06-03 11:59:34 +0200
commitff820257c5ab121aef703aede469212c63c15afb (patch)
tree4d207563c01a22b946b73e01037af5a2ee2c2fed /src
parent4cc93cb75f051b2f0a9e1d78fce3b6217d12849d (diff)
Initialise orientation for image
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 0320f44d..110c091f 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -260,6 +260,12 @@ static void *process_image(void *pargsv)
image.hits = NULL;
image.n_hits = 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;
+
STATUS("Processing '%s'\n", image.filename);
result = malloc(sizeof(*result));