diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-08-17 16:45:20 -0400 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2015-08-24 18:41:51 -0400 |
commit | 0d68c4fedf780ed11d697ccf81b4f6b5b92b3134 (patch) | |
tree | 05751d5d8cc6e2ada23c25d1adf117654d881910 /include | |
parent | cef1b254445bdcfb20ada157ecc7f72c27aeacf9 (diff) | |
download | qtlocation-mapboxgl-0d68c4fedf780ed11d697ccf81b4f6b5b92b3134.tar.gz |
load correct covering tiles in perspective view
port pointCoordinate from -js to convert screen points to tile
coordinates correctly in perspective view.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/mat4.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/util/mat4.hpp b/include/mbgl/util/mat4.hpp index ea4854306c..9c34332400 100644 --- a/include/mbgl/util/mat4.hpp +++ b/include/mbgl/util/mat4.hpp @@ -32,6 +32,7 @@ typedef std::array<double, 16> mat4; namespace matrix { void identity(mat4& out); +bool invert(mat4& out, mat4& a); void ortho(mat4& out, double left, double right, double bottom, double top, double near, double far); void perspective(mat4& out, double fovy, double aspect, double near, double far); void copy(mat4& out, const mat4& a); |