diff options
author | epoch <epoch@hacking.allowed.org> | 2017-11-19 01:48:42 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-11-19 01:48:42 -0600 |
commit | eee6279b3737e2037b5b6bfb84ca83fd8bbc6359 (patch) | |
tree | 9c351df39d9fa706fe55fe728501cf4598b8da4a /tools | |
parent | 1a1ee6d4e2bbbd5a4f91126afeb5c43ed9e6139f (diff) | |
download | hackvr-eee6279b3737e2037b5b6bfb84ca83fd8bbc6359.tar.gz hackvr-eee6279b3737e2037b5b6bfb84ca83fd8bbc6359.zip |
some utilities for manipulating objects outside of hackvr
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/offsetshape.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/offsetshape.sh b/tools/offsetshape.sh new file mode 100755 index 0000000..a6bb595 --- /dev/null +++ b/tools/offsetshape.sh @@ -0,0 +1,5 @@ +#!/bin/sh +#objectname addshape points_in_shape +echo offsetshape: $1 $2 $3 +awk '{ for(i=4;i<=(3+($3*3));i+=3){$i+='"$1"';$(i+1)+='"$2"';$(i+2)+='"$3"';} print $0;}' + |