Skip to content

Commit 8f662d6

Browse files
authored
Created LatLng structure
1 parent 7ffff7c commit 8f662d6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/LatLng.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#ifndef GEOMETRY_LIBRARY_LATLNG
2+
#define GEOMETRY_LIBRARY_LATLNG
3+
4+
struct LatLng {
5+
double lat;
6+
double lng;
7+
8+
LatLng(double lat, double lng)
9+
: lat(lat), lng(lng) {};
10+
};
11+
12+
#endif // GEOMETRY_LIBRARY_LATLNG

0 commit comments

Comments
 (0)