aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-07-17 03:58:33 -0500
committerepoch <epoch@hacking.allowed.org>2020-07-17 03:58:33 -0500
commita62c1dde4cc417bec166ee032bb39d1be63d7e7d (patch)
treecf2241071077610fe674909205ab2ba18a7e21a7
parente905fdddfe654616417f0ae6ba05f3bbc7dd704d (diff)
downloadhackvr-a62c1dde4cc417bec166ee032bb39d1be63d7e7d.tar.gz
hackvr-a62c1dde4cc417bec166ee032bb39d1be63d7e7d.zip
removed the rotation from map2globe. you can use a second script to do rotation.
-rwxr-xr-xbin/map2globe.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/map2globe.py b/bin/map2globe.py
index cb49675..1a50ea5 100755
--- a/bin/map2globe.py
+++ b/bin/map2globe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3.6
+#!/usr/bin/python3
import sys
import math
@@ -49,9 +49,6 @@ while(1):
break
if(lat and lon and x and y and z and plat and plon and px and py and pz): #if the previouses exist
print("{} addshape 2 2 {} {} {} {} {} {}".format(name,x,y,z,px,py,pz))
- print("{} rotate 0 {} 0".format(name,str(rotation)))
- rotation+=1
- rotation%=360
#set previouses to currents
(plat,plon,px,py,pz)=(lat,lon,x,y,z)