c++ format
This commit is contained in:
parent
99bfd03b22
commit
51c1ed16ef
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue