summaryrefslogtreecommitdiff
path: root/filebrowser/list_to_cubes.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-01-03 00:30:28 -0600
committerepoch <epoch@hacking.allowed.org>2017-01-03 00:30:28 -0600
commitebde46bc82bebf478db67abef5b7dc88c014706b (patch)
tree77121f0c18b1845b8c3cfdfec962e9c5b2ec7e67 /filebrowser/list_to_cubes.sh
parentf7353ec277198b295c6c842a4a4a07b403b2a572 (diff)
downloadhackvr-ebde46bc82bebf478db67abef5b7dc88c014706b.tar.gz
hackvr-ebde46bc82bebf478db67abef5b7dc88c014706b.zip
lots and lots of shit. opengl shit is barely worked on. new pl script to obj2hackvr using more than just triangles.http://hackaday.com/blog/http://hackaday.com/blog/
Diffstat (limited to 'filebrowser/list_to_cubes.sh')
-rwxr-xr-xfilebrowser/list_to_cubes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/filebrowser/list_to_cubes.sh b/filebrowser/list_to_cubes.sh
index d4ad688..7f6e794 100755
--- a/filebrowser/list_to_cubes.sh
+++ b/filebrowser/list_to_cubes.sh
@@ -11,7 +11,7 @@
while read -r line;do
if [ "_$line" != '_' ];then
# ../tools/obj2hackvr.pl "$line" ../meshes/cube.obj
- printf "%s addtriangle 1 0 0 0 1 0 0 0 0\n" "$line"
+ printf "%s addshape 3 1 0 0 0 1 0 0 0 0\n" "$line"
printf "%s move 0 %d 0 0 0 0 0 0 0\n" "$line" "$i"
i=$[i+2]
else