diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-09 20:56:07 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-03-01 20:58:54 +0000 |
commit | 4994b3dc574443ad6e24ea1d715e0ebcdbb0f124 (patch) | |
tree | f8b61e5acc88502b740f401deb61679126b1cbd0 /include/mbgl/util/geo.hpp | |
parent | 1ce99d2d7b1921dfac1d302553160184ceac7d3e (diff) | |
download | qtlocation-mapboxgl-4994b3dc574443ad6e24ea1d715e0ebcdbb0f124.tar.gz |
[core] PrecisionPoint is now ScreenCoordinate
Diffstat (limited to 'include/mbgl/util/geo.hpp')
-rw-r--r-- | include/mbgl/util/geo.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/util/geo.hpp b/include/mbgl/util/geo.hpp index 86bc586cba..fa36896869 100644 --- a/include/mbgl/util/geo.hpp +++ b/include/mbgl/util/geo.hpp @@ -9,7 +9,7 @@ namespace mbgl { class TileID; -using PrecisionPoint = vec2<double>; +using ScreenCoordinate = vec2<double>; class LatLng { public: @@ -26,7 +26,7 @@ public: // Constructs a LatLng object with the top left position of the specified tile. LatLng(const TileID& id); - PrecisionPoint project() const; + ScreenCoordinate project() const; }; inline bool operator==(const LatLng& a, const LatLng& b) { @@ -195,7 +195,7 @@ public: }; } - PrecisionPoint getCenter(uint16_t width, uint16_t height) const; + ScreenCoordinate getCenter(uint16_t width, uint16_t height) const; }; } // namespace mbgl |