Home
last modified time | relevance | path

Searched refs:M2PI (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/storage/
H A Dresource.cpp24 double resolution = (util::M2PI * util::EARTH_RADIUS_M / 256) / std::pow(2, z); in getMercCoord()
26 x * resolution - util::M2PI * util::EARTH_RADIUS_M / 2, in getMercCoord()
27 y * resolution - util::M2PI * util::EARTH_RADIUS_M / 2, in getMercCoord()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dconstants.hpp31 constexpr double M2PI = M_PI * 2; variable
H A Dprojection.hpp51 …return std::cos(constrainedLatitude * util::DEG2RAD) * util::M2PI * util::EARTH_RADIUS_M / worldSi… in getMetersPerPixelAtLatitude()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform.cpp29 if (std::abs(angle - util::M2PI - anchorAngle) < diff) { in _normalizeAngle()
30 angle -= util::M2PI; in _normalizeAngle()
32 if (std::abs(angle + util::M2PI - anchorAngle) < diff) { in _normalizeAngle()
33 angle += util::M2PI; in _normalizeAngle()
H A Dtransform_state.hpp144 double Cc = Projection::worldSize(scale) / util::M2PI;
H A Dtransform_state.cpp388 Cc = newWorldSize / util::M2PI; in setLatLngZoom()
409 Cc = Projection::worldSize(scale) / util::M2PI; in setScalePoint()