mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
More initializers
This commit is contained in:
+6
-6
@@ -16,12 +16,12 @@ struct lonlat {
|
||||
long long x;
|
||||
long long y;
|
||||
|
||||
lonlat(int nop, double nlon, double nlat, long long nx, long long ny) {
|
||||
this->op = nop;
|
||||
this->lon = nlon;
|
||||
this->lat = nlat;
|
||||
this->x = nx;
|
||||
this->y = ny;
|
||||
lonlat(int nop, double nlon, double nlat, long long nx, long long ny)
|
||||
: op(nop),
|
||||
lon(nlon),
|
||||
lat(nlat),
|
||||
x(nx),
|
||||
y(ny) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user