diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-19 04:46:00 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-19 04:46:00 -0600 |
commit | b955857faf354aee35dd3b4bb4e6f98b96b1c82b (patch) | |
tree | 72c67e2a36f972cb36f5c143088f8b07dd21994e | |
parent | 857f5b22a0bfd34a793163823a87f58d46448a89 (diff) | |
download | hackvr-b955857faf354aee35dd3b4bb4e6f98b96b1c82b.tar.gz hackvr-b955857faf354aee35dd3b4bb4e6f98b96b1c82b.zip |
guess I fixed map2globe.py. change it to use python 3.6.
-rwxr-xr-x | map2globe.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/map2globe.py b/map2globe.py index 7b8ffb0..fe47fad 100755 --- a/map2globe.py +++ b/map2globe.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3.4 +#!/usr/bin/python3.6 import sys import math @@ -16,7 +16,7 @@ z="0" # / 90 * math.pi #they need to be in the range 0 to 2pi? -print("globe addshape 1 0 0 0 0 1 0") +print("globe addshape 0 1 0 0 0 0 1 0") rotation=0 while(1): @@ -42,7 +42,7 @@ while(1): print("# error: " + str(e)) 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("globe addshape 3 " + x + " " + y + " " + z + " " + x + " " + y + " " + z + " " + px + " " + py + " " + pz) + print("globe addshape 2 2 " + x + " " + y + " " + z + " " + px + " " + py + " " + pz) print("globe rotate 0 " + str(rotation) + " 0") rotation+=1 rotation%=360 |