From 575072bb2fad421ce0edc45cbfb2f9ca667497f8 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 27 Apr 2016 12:39:21 -0700 Subject: [PATCH] Drag projection math into C++ --- projection.c => projection.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename projection.c => projection.cpp (97%) diff --git a/projection.c b/projection.cpp similarity index 97% rename from projection.c rename to projection.cpp index d1ca865..0009215 100644 --- a/projection.c +++ b/projection.cpp @@ -1,5 +1,8 @@ #include -#include "projection.h" + +extern "C" { + #include "projection.h" +} // http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames void latlon2tile(double lat, double lon, int zoom, long long *x, long long *y) {