(Arne Babenhauserheide)
2014-06-26: start latlon2cell start latlon2cell
diff --git a/examples/d20world.w b/examples/d20world.w --- a/examples/d20world.w +++ b/examples/d20world.w @@ -187,6 +187,10 @@ define : d20-advect world advection-dire define φ : * (/ 1 2) : 1+ : sqrt 5 +define : latlon2cellidx lat lon + . "Convert a position given as latitude and longitude into the correct cell index." + . #t + display : d20-as-text world newline