From 85ab48636c0f0cb5b1ec5c5b6b64a41dbd188e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 17 Nov 2015 13:27:42 +0100 Subject: [core] allow changing pitch in GLFW based apps --- include/mbgl/platform/default/glfw_view.hpp | 1 + include/mbgl/platform/default/settings_json.hpp | 1 + 2 files changed, 2 insertions(+) (limited to 'include') 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; }; -- cgit v1.2.1