summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xmeshes/grid_floor.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0e65c97..cb65ddb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.o
+hackvr_term/hackvr_term
hackvr
src/hackvr
src/hackvr_headless
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"