aboutsummaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
authorBastiaanOlij2016-11-23 23:32:44 +1100
committerBastiaanOlij2017-01-12 16:37:27 +1100
commit5e4dcb3b7f93cfe19a5c12700df5a7c82045f37c (patch)
treeef8522125e50a60f467750daa6243ad3decaea24 /core/os/input.h
parentefa9ded5f9d0f8176dcdd17c09de6fa9df926f45 (diff)
downloadgodot-5e4dcb3b7f93cfe19a5c12700df5a7c82045f37c.tar.gz
godot-5e4dcb3b7f93cfe19a5c12700df5a7c82045f37c.tar.zst
godot-5e4dcb3b7f93cfe19a5c12700df5a7c82045f37c.zip
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input.h b/core/os/input.h
index c365894f4..b12ad9b55 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -82,6 +82,7 @@ public:
virtual void warp_mouse_pos(const Vector2& p_to)=0;
+ virtual Vector3 get_gravity() const=0;
virtual Vector3 get_accelerometer() const=0;
virtual Vector3 get_magnetometer() const=0;
virtual Vector3 get_gyroscope() const=0;