summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/chess/run
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/chess/run')
-rwxr-xr-xshare/hackvr/examples/chess/run3
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