summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-04-15 23:03:19 -0400
committerJune McEnroe <june@causal.agency>2018-04-15 23:03:19 -0400
commitf9cee8f9b7f5c999508ee04ec38c8550240a4cba (patch)
tree45c29dc1de0ef62eda7956629511e3c51522b1da /bin
parentCalculate frameTime in brot with clock(3) (diff)
downloadsrc-f9cee8f9b7f5c999508ee04ec38c8550240a4cba.tar.gz
src-f9cee8f9b7f5c999508ee04ec38c8550240a4cba.zip
Add 0 bind to brot
Diffstat (limited to '')
-rw-r--r--bin/brot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/brot.c b/bin/brot.c
index 44bd432d..09ca9c4b 100644
--- a/bin/brot.c
+++ b/bin/brot.c
@@ -100,6 +100,7 @@ bool input(char in) {
         break; case 'i': transform /= cexp(rotateStep * PI * I);
         break; case '+': transform *= 1.0 - scaleStep;
         break; case '-': transform /= 1.0 - scaleStep;
+        break; case '0': translate = -0.75; transform = 2.5;
         break; case ']': samples++;
         break; case '[': if (samples > 1) samples--;
     }