diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-07-05 12:26:50 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-07-07 14:18:00 -0700 |
commit | c8e87128b1e9f1e49c486fa01533644cf14c78e8 (patch) | |
tree | dc3970708d789f9a352c7cf6850302064b746150 /src/mbgl/renderer/painter.hpp | |
parent | 2e10c0a8660af9cdf6ff897aaa39e15fe62c6582 (diff) | |
download | qtlocation-mapboxgl-c8e87128b1e9f1e49c486fa01533644cf14c78e8.tar.gz |
[core] Make extrudeScale calculations more similar to JS
Diffstat (limited to 'src/mbgl/renderer/painter.hpp')
-rw-r--r-- | src/mbgl/renderer/painter.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/painter.hpp b/src/mbgl/renderer/painter.hpp index 03885ed49e..5e8831b239 100644 --- a/src/mbgl/renderer/painter.hpp +++ b/src/mbgl/renderer/painter.hpp @@ -159,7 +159,7 @@ private: mat4 projMatrix; mat4 nativeMatrix; - std::array<float, 2> extrudeScale; + std::array<float, 2> pixelsToGLUnits; // used to composite images and flips the geometry upside down const mat4 flipMatrix = []{ |