diff options
author | Ansis Brammanis <ansis@mapbox.com> | 2019-10-01 16:00:24 -0400 |
---|---|---|
committer | Ansis Brammanis <ansis@mapbox.com> | 2019-10-01 16:00:24 -0400 |
commit | 0b0bd8b49094517fd3d3427bc65844312064f57c (patch) | |
tree | 40c8e6c8c4681dc874dba85bc12f38eb3876422f | |
parent | 3ab40611a51e1917c1aea395b44e5efc91e3359e (diff) | |
download | qtlocation-mapboxgl-0b0bd8b49094517fd3d3427bc65844312064f57c.tar.gz |
fix formatting
-rw-r--r-- | src/mbgl/renderer/paint_property_binder.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mbgl/renderer/paint_property_binder.hpp b/src/mbgl/renderer/paint_property_binder.hpp index 402827de3c..a93bf2e541 100644 --- a/src/mbgl/renderer/paint_property_binder.hpp +++ b/src/mbgl/renderer/paint_property_binder.hpp @@ -370,11 +370,10 @@ public: } std::tuple<float> interpolationFactor(float currentZoom) const override { - const float possiblyRoundedZoom = expression.useIntegerZoom ? - std::floor(currentZoom) : - currentZoom; + const float possiblyRoundedZoom = expression.useIntegerZoom ? std::floor(currentZoom) : currentZoom; - return std::tuple<float> { std::fmax(0.0, std::fmin(1.0, expression.interpolationFactor(zoomRange, possiblyRoundedZoom))) }; + return std::tuple<float> { + std::fmax(0.0, std::fmin(1.0, expression.interpolationFactor(zoomRange, possiblyRoundedZoom)))}; } std::tuple<T> uniformValue(const PossiblyEvaluatedPropertyValue<T>& currentValue) const override { |