diff options
author | Thomas White <taw@physics.org> | 2010-06-03 11:59:34 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-06-03 11:59:34 +0200 |
commit | ff820257c5ab121aef703aede469212c63c15afb (patch) | |
tree | 4d207563c01a22b946b73e01037af5a2ee2c2fed /src/indexamajig.c | |
parent | 4cc93cb75f051b2f0a9e1d78fce3b6217d12849d (diff) |
Initialise orientation for image
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 6 |
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)); |