c++ format

This commit is contained in:
artemp 2016-03-31 11:22:40 +02:00
parent 99bfd03b22
commit 51c1ed16ef

View file

@ -65,7 +65,8 @@ boost::optional<bool> is_known_geographic(std::string const& srs);
static inline bool lonlat2merc(double * x, double * y , int point_count)
{
for(int i=0; i<point_count; i++) {
for(int i=0; i<point_count; ++i)
{
if (x[i] > 180) x[i] = 180;
else if (x[i] < -180) x[i] = -180;
if (y[i] > MAX_LATITUDE) y[i] = MAX_LATITUDE;