summaryrefslogtreecommitdiff
path: root/tools/line2hackvr.sh
blob: f2ea14314187eda611bea6565a84697dcfb51613 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
#this is used on turn2line output
if [ "_$1" = '_' ];then
 echo 'usage: line2hackvr.sh name' >&2
 exit 1
fi
xargs -L 1 printf "%s addshape 2 0 %d %d 0 %d %d\n" "$1" $line