summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/dothack
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-04-30 05:52:02 -0500
committerepoch <epoch@thebackupbox.net>2020-04-30 05:52:02 -0500
commitf11b758ec7cf1f2d428cec0499d62b4b249d9bcf (patch)
tree26f218d71dddb02bd9a2796f8ef34267afeb5c3a /share/hackvr/examples/dothack
parente4704318327aec71a584571e80b6163988cdf6b8 (diff)
downloadhackvr-f11b758ec7cf1f2d428cec0499d62b4b249d9bcf.tar.gz
hackvr-f11b758ec7cf1f2d428cec0499d62b4b249d9bcf.zip
fixed color to "gold" (yellow) and 16-sided looks better and is a nice power of 2 number
Diffstat (limited to 'share/hackvr/examples/dothack')
-rwxr-xr-xshare/hackvr/examples/dothack/chaosgate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hackvr/examples/dothack/chaosgate.py b/share/hackvr/examples/dothack/chaosgate.py
index 56bf25d..b1cea43 100755
--- a/share/hackvr/examples/dothack/chaosgate.py
+++ b/share/hackvr/examples/dothack/chaosgate.py
@@ -6,11 +6,11 @@ def fp(p):
return " {} {} {}".format(p[0],p[1],p[2])
def print_rect(r):
- print("gate addshape 4 4 {} {} {} {}".format(fp(r[0]),fp(r[1]),fp(r[2]),fp(r[3])))
+ print("gate addshape 3 4 {} {} {} {}".format(fp(r[0]),fp(r[1]),fp(r[2]),fp(r[3])))
d=1
-sides = 12.0
+sides = 16.0
step = 360.0/sides
rot=0.0
zoff = 0.0