aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-23 18:24:16 +0200
committerThomas White <taw@physics.org>2010-04-23 18:24:16 +0200
commit10378fa20b01a2a98fcbb7969edabd6d53cb25f3 (patch)
treea48678e565e5fbee442b073e03052a0243cc28ad
parente928b579334eb9e889c241d5bfe8e63cf027a3d2 (diff)
parent136f1222d150d843455ddfb13b879aeff0e7f581 (diff)
Merge branch 'master' of ssh://git.bitwiz.org.uk/crystfel
-rw-r--r--src/render_hkl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index 984db40d..160d08dd 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
fprintf(fh, "#end\n");
/* Second quarter */
- fprintf(fh, "#if ( (clock >= 125) & (clock <= 250) )\n");
+ fprintf(fh, "#if ( (clock >= 125) & (clock <= 249) )\n");
fprintf(fh, "camera { location <0.0,"
" -(2.0+cos(radians((clock-125)*(180/125)))), 0.0>"
" sky z direction 1.1*y\n"
@@ -175,7 +175,7 @@ int main(int argc, char *argv[])
/* Cruise */
"#if ( (clock >= 25) & (clock <= 224) )\n"
- "rotate <0, 0, (WA/2)+WCA*((clock-25)/25)>\n"
+ "rotate <0, 0, (WCA/2)+WCA*((clock-25)/25)>\n"
"#end\n"
/* Overlap */