login

<     >

2021-08-22 17:32:29 (UTC-03:00)

Marcel Rodrigues <marcelgmr@gmail.com>

map: s/math.deg/deg/

diff --git a/map.lua b/map.lua
index 4dbb238..d76ccc3 100644
--- a/map.lua
+++ b/map.lua
@@ -175,8 +175,8 @@ local function save_frame(fname, model, projection, bounding)
         frm:write("r", sep, model.r, "\n")
     end
     frm:write("proj", sep, projection.name, "\n")
-    frm:write("lon", sep, math.deg(projection.lon0), "\n")
-    frm:write("lat", sep, math.deg(projection.lat0), "\n")
+    frm:write("lon", sep, deg(projection.lon0), "\n")
+    frm:write("lat", sep, deg(projection.lat0), "\n")
     frm:write("x0", sep, bounding.x0, "\n")
     frm:write("y0", sep, bounding.y0, "\n")
     frm:write("x1", sep, bounding.x1, "\n")