Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2015-05-15 13:09:27 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:48:08 +0300
commit1f50787b057ea3fef8c5f0b3a3945286ce07ea6a (patch)
treee570520307996acf9acb9742435b1d17f567010c /map/location_state.cpp
parenteefa43a2b1e4d0bc73ca81922b8614ec05dff6c4 (diff)
Render policies refactoring to support GPU and Software rendering.
Diffstat (limited to 'map/location_state.cpp')
-rw-r--r--map/location_state.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/location_state.cpp b/map/location_state.cpp
index 0715a5948a..681bee94a5 100644
--- a/map/location_state.cpp
+++ b/map/location_state.cpp
@@ -929,6 +929,11 @@ void State::SetDirection(double bearing)
SetModeInfo(IncludeModeBit(m_modeInfo, KnownDirectionBit));
}
+void State::ResetDirection()
+{
+ SetModeInfo(ExcludeModeBit(m_modeInfo, KnownDirectionBit));
+}
+
m2::PointD const State::GetPositionForDraw() const
{
if (m_animTask != nullptr)