summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-19 04:04:34 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-19 04:04:34 -0600
commit826eff5bb47181cf38e16c6658c7876a3e0b7183 (patch)
tree169ca8643768203471516acca9eacbd4184820a0 /tools
parent1069c59f786cced9a8ef7d8bd492acf2db6e1091 (diff)
downloadhackvr-826eff5bb47181cf38e16c6658c7876a3e0b7183.tar.gz
hackvr-826eff5bb47181cf38e16c6658c7876a3e0b7183.zip
fixed offsetshape to start looping in the right spot. oops.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/offsetshape.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/offsetshape.sh b/tools/offsetshape.sh
index 928a759..3362e3b 100755
--- a/tools/offsetshape.sh
+++ b/tools/offsetshape.sh
@@ -1,5 +1,3 @@
#!/bin/sh
#objectname addshape color points_in_shape
-echo offsetshape: $1 $2 $3
-awk '{ for(i=4;i<=(4+($4*3));i+=3){$i+='"$1"';$(i+1)+='"$2"';$(i+2)+='"$3"';} print $0;}'
-
+awk '{ for(i=5;i<=(4+($4*3));i+=3){$i+='"$1"';$(i+1)+='"$2"';$(i+2)+='"$3"';} print $0;}'