summaryrefslogtreecommitdiff
path: root/meshes/grid_floor.sh
diff options
context:
space:
mode:
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"