summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/grid_floor.sh
blob: 452163f709390679669aa5cfc98f78cb840c4c19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
cat <(for i in $(seq 1 32);do
        for j in $(seq 1 32);do
          echo floor addshape 2 4 $i 0 $j $i 0 $[j+1] $[i+1] 0 $[j+1] $[i+1] 0 $j
#          echo floor addshape 2 4 $i 0 $j $[i+1] 0 $j $[i+1] 0 $[j+1] $i 0 $[j+1]
        done
      done) \
    <(echo -e "floor scaleup 8\nepoch export floor\nepoch quit\n") \
 | hackvr_headless $USER \
 | sed "s/\.0*//g"