From ff820257c5ab121aef703aede469212c63c15afb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 3 Jun 2010 11:59:34 +0200 Subject: Initialise orientation for image --- src/indexamajig.c | 6 ++++++ 1 file changed, 6 insertions(+) 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)); -- cgit v1.2.3