aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-22 23:34:07 +0200
committerThomas White <taw@physics.org>2010-04-22 23:34:07 +0200
commit136f1222d150d843455ddfb13b879aeff0e7f581 (patch)
tree3bc5a16f5363fd7e4e4a9373711af383cfff99e9 /src/render_hkl.c
parent8c788132f5eb8ca35dafe229a3ad9c3739c90c89 (diff)
render_hkl: Couple of scene script bugs
Diffstat (limited to 'src/render_hkl.c')
-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 */