summaryrefslogtreecommitdiff
path: root/examples/filebrowser/list_to_cubes.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-12-16 19:28:39 -0600
committerepoch <epoch@hacking.allowed.org>2018-12-16 19:28:39 -0600
commitf479b438e6119e83c95b19aaeccd61a8e5eded27 (patch)
tree726a3916d9128f6c970f49431ef8b27140e49747 /examples/filebrowser/list_to_cubes.sh
parent13dd5a6d313a2086647751286ca8315a12c804f1 (diff)
downloadhackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.tar.gz
hackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.zip
fuck if I know. lots of shit. moved files.
Diffstat (limited to 'examples/filebrowser/list_to_cubes.sh')
-rwxr-xr-xexamples/filebrowser/list_to_cubes.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/examples/filebrowser/list_to_cubes.sh b/examples/filebrowser/list_to_cubes.sh
deleted file mode 100755
index 2cdbe92..0000000
--- a/examples/filebrowser/list_to_cubes.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-# blank lines deleteallexcept epoch
-# expected input format:
-#
-# line1
-# line2
-# line3
-#
-# line1
-# line2
-j=1
-r=200
-while read -r line;do
- if [ "_$line" != '_' ];then
-# ../tools/obj2hackvr.pl "$line" ../meshes/cube.obj
- #turn line into hex to prevent stupid shit
- hexline="$(printf "%s" "$line" | xxd -p | tr -d '\n')"
- printf "%s addshape 18 3 8 %d %d 0 %d %d 0 %d %d\n" "$hexline" "$j" "$r" "$[$j+8]" "$r" "$j" "$r"
- cd ..
- printf "%s\n" "$line" | tee /dev/stderr | ./makelabel.sh "$hexline" 15 $j $r
- cd filebrowser
- #printf "%s move 0 %d %d 0 0 0 0 0 0\n" "$hexline" "$i" "$r"
- printf "%s rotate 0 %d 0\n" "$hexline" "$[i * 3]"
- #somehow printf '%s\n' "$line" | ./testfont.sh and make its output belong to same group as $line.. sed?
- i=$[i+10]
- j=$[j+4]
- else
- cat camera.pos
- printf "USER deleteallexcept USER\n" #deleteallexcept doesn't have gr deletions yet I think.
- j=0
- i=0
- fi
-done