test list for wrapping around a sphere
This commit is contained in:
parent
7b68206577
commit
570fe8dadc
@ -118,4 +118,10 @@
|
||||
{:x 2 :y 4 :direction :e}))
|
||||
|
||||
|
||||
"if we travel west past x=-180, x becomes positive 180"
|
||||
"if we travel east past x=180, x becomes -180"
|
||||
"if we travel east/west at a non-zero latitude, we don't move a full unit"
|
||||
"if we arrive at the north pole, we are {:y 90 :direction :s}"
|
||||
"if we arrive at the north pole and turn 90 degrees left, x = x - 90"
|
||||
|
||||
(print "OK")
|
||||
|
Loading…
Reference in New Issue
Block a user