summary refs log tree commit diff
path: root/bin/brot.c
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
commit1bd5b286ae36eda88112d8fbbf53664ddb843759 (patch)
tree4ceefe0c6eff6e4449b9eeba7141cb1bab3ef2e6 /bin/brot.c
parentCalculate frameTime in brot with clock(3) (diff)
downloadsrc-1bd5b286ae36eda88112d8fbbf53664ddb843759.tar.gz
src-1bd5b286ae36eda88112d8fbbf53664ddb843759.zip
Add 0 bind to brot
Diffstat (limited to 'bin/brot.c')
-rw-r--r--bin/brot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/brot.c b/bin/brot.c
index 310cfb06..515738a0 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--;
     }