summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-13 19:23:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-13 19:24:28 -0300
commita97551902e24ef1ac8fd709d77a5195b73c6c1ae (patch)
treebec77c842c2398ef77bc17d4cf66d882c8ad7582 /main
parentb191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff)
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'main')
-rw-r--r--main/input_default.cpp2
-rw-r--r--main/input_default.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/input_default.cpp b/main/input_default.cpp
index 61a3a7da7e..a4023b23d2 100644
--- a/main/input_default.cpp
+++ b/main/input_default.cpp
@@ -465,7 +465,7 @@ Point2 InputDefault::get_mouse_pos() const {
return mouse_pos;
}
-Point2 InputDefault::get_mouse_speed() const {
+Point2 InputDefault::get_last_mouse_speed() const {
return mouse_speed_track.speed;
}
diff --git a/main/input_default.h b/main/input_default.h
index 33a852ab10..cab505644d 100644
--- a/main/input_default.h
+++ b/main/input_default.h
@@ -196,7 +196,7 @@ public:
virtual Vector3 get_gyroscope() const;
virtual Point2 get_mouse_pos() const;
- virtual Point2 get_mouse_speed() const;
+ virtual Point2 get_last_mouse_speed() const;
virtual int get_mouse_button_mask() const;
virtual void warp_mouse_pos(const Vector2& p_to);