From 781ecd6529505e4bf1fd400634ee83bcb9a07c81 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 19 Mar 2017 04:51:01 -0500 Subject: I have no idea why I am doing this... --- map2globe.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'map2globe.py') diff --git a/map2globe.py b/map2globe.py index 8e58752..7b8ffb0 100755 --- a/map2globe.py +++ b/map2globe.py @@ -16,7 +16,8 @@ z="0" # / 90 * math.pi #they need to be in the range 0 to 2pi? -print("globe addshape 1 0 0 0 1 -1 0") +print("globe addshape 1 0 0 0 0 1 0") +rotation=0 while(1): #print (plat,plon,lat,lon) @@ -42,6 +43,9 @@ 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("globe addshape 3 " + x + " " + y + " " + z + " " + x + " " + y + " " + z + " " + px + " " + py + " " + pz) + print("globe rotate 0 " + str(rotation) + " 0") + rotation+=1 + rotation%=360 #set previouses to currents (plat,plon,px,py,pz)=(lat,lon,x,y,z) -- cgit v1.2.3