summaryrefslogtreecommitdiff
path: root/meshes/grid_floor.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-19 04:57:22 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-19 04:57:22 -0600
commit4b109a2449a483a27bf1e863fb30601262b095f0 (patch)
tree1690816f842a1c7d81b298182e2d641680cc36b7 /meshes/grid_floor.sh
parentd266ba9242c9542c05c68c45f6fd09e4e46099ed (diff)
downloadhackvr-4b109a2449a483a27bf1e863fb30601262b095f0.tar.gz
hackvr-4b109a2449a483a27bf1e863fb30601262b095f0.zip
added extras I forgot about
Diffstat (limited to 'meshes/grid_floor.sh')
-rwxr-xr-xmeshes/grid_floor.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/meshes/grid_floor.sh b/meshes/grid_floor.sh
new file mode 100755
index 0000000..0b4f2c9
--- /dev/null
+++ b/meshes/grid_floor.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+cat <(for i in $(seq 1 16);do for j in $(seq 1 16);do echo floor addshape 2 $i 0 $j $i 0 $[j+1];echo floor addshape 2 $i 0 $j $[i+1] 0 $j;done; done) <(echo -e "floor scaleup 8\nepoch export floor\nepoch quit\n") | ../src/hackvr_headless epoch | sed "s/\.0*//g"