summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/dungen
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-10-11 01:55:42 -0500
committerepoch <epoch@hacking.allowed.org>2020-10-11 01:55:42 -0500
commit91e1d05c3f73db1662b58e7387a017dd3b0d011d (patch)
tree308a95d1762688341b1b6197af492794810c8393 /share/hackvr/examples/dungen
parent82b8d669d684952b7cb5b697197fed47ccdb6d72 (diff)
parentfe9ad894000ff986cd642d23ac4762e97d5b1ccc (diff)
downloadhackvr-91e1d05c3f73db1662b58e7387a017dd3b0d011d.tar.gz
hackvr-91e1d05c3f73db1662b58e7387a017dd3b0d011d.zip
Merge branch 'master' of ssh://21.41.41.1/hackvr into master
Diffstat (limited to 'share/hackvr/examples/dungen')
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/hackvr/examples/dungen/dunexplore.sh b/share/hackvr/examples/dungen/dunexplore.sh
index 6f71391..6fbd5c3 100755
--- a/share/hackvr/examples/dungen/dunexplore.sh
+++ b/share/hackvr/examples/dungen/dunexplore.sh
@@ -2,7 +2,13 @@
### run me with hackvr_coproc
#the $USER triangle we add first is to give us some sort of avatar to see where the camera is.
#seed=1337
-echo $USER addshape 4 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+red=1
+green=2
+blue=4
+echo $USER addshape 6 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+echo world-x addshape $red 2 0 0 0 1 0 0
+echo world-y addshape $green 2 0 0 0 0 1 0
+echo world-z addshape $blue 2 0 0 0 0 0 1
./dungen $seed | ./dun2hackvr
while read group action target;do
if [ "$action" = "action" ];then