diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-08-04 12:59:22 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-08-04 12:59:22 +0200 |
commit | 9dd50a29e1e8b975e09172b19b303063a96ba20f (patch) | |
tree | 0f35c1d304aafcf465762484848d33e58342c391 /include/mbgl/util/rect.hpp | |
parent | 19e51e8bd89f0e627045b623a2a57b6702bca896 (diff) | |
download | qtlocation-mapboxgl-9dd50a29e1e8b975e09172b19b303063a96ba20f.tar.gz |
update shaders and backport some collision changes
Diffstat (limited to 'include/mbgl/util/rect.hpp')
-rw-r--r-- | include/mbgl/util/rect.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/util/rect.hpp b/include/mbgl/util/rect.hpp index a216b8e145..4e524b4156 100644 --- a/include/mbgl/util/rect.hpp +++ b/include/mbgl/util/rect.hpp @@ -5,7 +5,8 @@ namespace mbgl { template <typename T> struct Rect { - explicit Rect(T x, T y, T w, T h) : x(x), y(y), w(w), h(h) {} + inline Rect() {} + inline Rect(T x, T y, T w, T h) : x(x), y(y), w(w), h(h) {} T x = 0, y = 0; T w = 0, h = 0; |