#ifdef SG_GEOC_NATIVE_DEGREE
return _lon;
#else
- return _lon*SGD_DEGREES_TO_RADIANS;
+ return _lon*SGD_RADIANS_TO_DEGREES;
#endif
}
#ifdef SG_GEOC_NATIVE_DEGREE
_lon = lon;
#else
- _lon = lon*SGD_RADIANS_TO_DEGREES;
+ _lon = lon*SGD_DEGREES_TO_RADIANS;
#endif
}
#ifdef SG_GEOC_NATIVE_DEGREE
return _lat;
#else
- return _lat*SGD_DEGREES_TO_RADIANS;
+ return _lat*SGD_RADIANS_TO_DEGREES;
#endif
}
#ifdef SG_GEOC_NATIVE_DEGREE
_lat = lat;
#else
- _lat = lat*SGD_RADIANS_TO_DEGREES;
+ _lat = lat*SGD_DEGREES_TO_RADIANS;
#endif
}