diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-11-17 13:27:42 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-11-17 19:02:12 +0100 |
commit | 85ab48636c0f0cb5b1ec5c5b6b64a41dbd188e06 (patch) | |
tree | 2e3b539ae1ebb5e5ffcd18b4de6642f0601206e5 /include | |
parent | 728847329c09daa7e6754f4a6445a73be82ed616 (diff) | |
download | qtlocation-mapboxgl-85ab48636c0f0cb5b1ec5c5b6b64a41dbd188e06.tar.gz |
[core] allow changing pitch in GLFW based apps
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/platform/default/glfw_view.hpp | 1 | ||||
-rw-r--r-- | include/mbgl/platform/default/settings_json.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp index 17050d64db..a434b71bb1 100644 --- a/include/mbgl/platform/default/glfw_view.hpp +++ b/include/mbgl/platform/default/glfw_view.hpp @@ -65,6 +65,7 @@ private: const bool benchmark = false; bool tracking = false; bool rotating = false; + bool pitching = false; // Frame timer int frames = 0; diff --git a/include/mbgl/platform/default/settings_json.hpp b/include/mbgl/platform/default/settings_json.hpp index 25c2179ba0..154a7e3769 100644 --- a/include/mbgl/platform/default/settings_json.hpp +++ b/include/mbgl/platform/default/settings_json.hpp @@ -15,6 +15,7 @@ public: double latitude = 0; double zoom = 0; double bearing = 0; + double pitch = 0; bool debug = false; }; |