diff options
author | epoch <epoch@hacking.allowed.org> | 2019-02-06 04:52:59 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2019-02-06 04:52:59 -0600 |
commit | 30bfb25dceedcc0ad84b06194856edb28297ba83 (patch) | |
tree | 3be2d23c124b02ac6ff410cba8d66e4306569127 /share/hackvr/examples/chess/run | |
parent | bf16b7b8593d4013adbd03838af5a2fb3bce34ee (diff) | |
download | hackvr-30bfb25dceedcc0ad84b06194856edb28297ba83.tar.gz hackvr-30bfb25dceedcc0ad84b06194856edb28297ba83.zip |
added elevation choice and a default camera rotation for chess example
Diffstat (limited to 'share/hackvr/examples/chess/run')
-rwxr-xr-x | share/hackvr/examples/chess/run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hackvr/examples/chess/run b/share/hackvr/examples/chess/run index 4f0cdce..5a0941b 100755 --- a/share/hackvr/examples/chess/run +++ b/share/hackvr/examples/chess/run @@ -1,4 +1,5 @@ #!/bin/bash +export elevation=0 mknod p p -stdbuf -oL cat camera.pos <(./board.sh) <(cat p | ./gnuchess-to-hackvr.sh) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p +stdbuf -oL cat camera.pos <(./board.sh $elevation) <(cat p | ./gnuchess-to-hackvr.sh $elevation) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p rm p |