summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-06-10 21:57:12 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-06-20 13:01:59 +0300
commit5792091e9db92aefb3ff969d9059923fa03bb90e (patch)
treefb15ac30cdc1cf2631ede29771a441cf9b3a8ea8 /include
parent22aa22c99c63b8a52746db1b757885e7feea7e26 (diff)
downloadqtlocation-mapboxgl-5792091e9db92aefb3ff969d9059923fa03bb90e.tar.gz
[core] Added mbgl::util::DEFAULT_TRANSITION_EASE
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/constants.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/util/constants.hpp b/include/mbgl/util/constants.hpp
index 543d5b3cab..607c388e95 100644
--- a/include/mbgl/util/constants.hpp
+++ b/include/mbgl/util/constants.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <mbgl/util/chrono.hpp>
+#include <mbgl/util/unitbezier.hpp>
#include <cmath>
#include <string>
@@ -40,6 +41,8 @@ constexpr uint64_t DEFAULT_MAX_CACHE_SIZE = 50 * 1024 * 1024;
constexpr Duration DEFAULT_FADE_DURATION = Milliseconds(300);
constexpr Seconds CLOCK_SKEW_RETRY_TIMEOUT { 30 };
+constexpr UnitBezier DEFAULT_TRANSITION_EASE = { 0, 0, 0.25, 1 };
+
} // namespace util
namespace debug {