aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-12-04 11:58:18 +0100
committerThomas White <taw@physics.org>2009-12-04 12:01:37 +0100
commit60e446b6cc757512b7271c4480b50d87ecdfe607 (patch)
tree1fcf845d5dc0995ab16d75b1a848ba9767ddad31 /src/pattern_sim.c
parente0d9ab3636eaf462a820f9e0648ef682fa0e3bb5 (diff)
Display orientation
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 6755f53e..b69ad5d8 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -230,6 +230,10 @@ int main(int argc, char *argv[])
image.orientation = read_quaternion();
}
+ STATUS("Orientation is %5.3f %5.3f %5.3f %5.3f\n",
+ image.orientation.w, image.orientation.x,
+ image.orientation.y, image.orientation.z);
+
if ( !quaternion_valid(image.orientation) ) {
ERROR("Orientation modulus is not zero!\n");
return 1;