diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-10-11 19:34:41 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:45:23 +0300 |
commit | f81ed7bd00ca324c400288d0a2df86151d9989cc (patch) | |
tree | 2cebd85a4f2bcbe7b30a658d96875a4f7bb309d5 /map/animator.hpp | |
parent | 0e4f41bfb531d6b49caa8ee8fc8de7216774108b (diff) |
made screen rotation speed consistent across different animation tasks.
Diffstat (limited to 'map/animator.hpp')
-rw-r--r-- | map/animator.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/map/animator.hpp b/map/animator.hpp index cdc6898ee3..6f308af36b 100644 --- a/map/animator.hpp +++ b/map/animator.hpp @@ -25,8 +25,7 @@ public: Animator(Framework * framework); /// rotate screen by shortest path. void RotateScreen(double startAngle, - double endAngle, - double duration); + double endAngle); /// stopping screen rotation void StopRotation(); /// move screen from one point to another @@ -35,4 +34,6 @@ public: double rotationSpeed); /// stop screen moving void StopChangeViewport(); + /// get screen rotation speed + double GetRotationSpeed() const; }; |