diff options
author | Anand Thakker <anandthakker@users.noreply.github.com> | 2017-04-03 12:25:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 12:25:36 -0400 |
commit | b5b4549b6d80e4a1f45e766161bafd52a064c91d (patch) | |
tree | d74a4beac8ae444c4b3c5536bd92c35492296b3f /include/mbgl/style/conversion.hpp | |
parent | d092841b19e0e235681f8e9ef3cd13ad1b4df149 (diff) | |
download | qtlocation-mapboxgl-b5b4549b6d80e4a1f45e766161bafd52a064c91d.tar.gz |
Fix edge case in composite function interpolation (#8613)
This fixes a bug where, for a zoom value greater than that of the highest zoom
stop, composite function interpolation would return nan. (Blocking a render
test over in #8593)
* Add failing tests for composite function edge case
The failing cases here are:
- Should interpolate before the first stop
- Should interpolate past the last stop
* Fix edge case in composite function interpolation
* Hold functions constant outside stop-defined domain
Diffstat (limited to 'include/mbgl/style/conversion.hpp')
0 files changed, 0 insertions, 0 deletions