diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-08-05 11:54:06 +0300 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-08-05 13:00:35 +0300 |
commit | d30dc89cf71a9f85620c0845b09ccd497bdd94e6 (patch) | |
tree | 05fdc0a9d228ef6ca5e17bd4a4f3d33261458741 /src/mbgl/renderer | |
parent | 5784e326e20f2661874206d2e4d8b16061646745 (diff) | |
download | qtlocation-mapboxgl-d30dc89cf71a9f85620c0845b09ccd497bdd94e6.tar.gz |
[core] Increase round join approximation precision
Diffstat (limited to 'src/mbgl/renderer')
-rw-r--r-- | src/mbgl/renderer/buckets/line_bucket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/buckets/line_bucket.cpp b/src/mbgl/renderer/buckets/line_bucket.cpp index 6c4afa9d5a..9019e76d3b 100644 --- a/src/mbgl/renderer/buckets/line_bucket.cpp +++ b/src/mbgl/renderer/buckets/line_bucket.cpp @@ -64,7 +64,7 @@ const float COS_HALF_SHARP_CORNER = std::cos(75.0 / 2.0 * (M_PI / 180.0)); const float SHARP_CORNER_OFFSET = 15.0f; // Angle per triangle for approximating round line joins. -const float DEG_PER_TRIANGLE = 30.0f; +const float DEG_PER_TRIANGLE = 20.0f; // The number of bits that is used to store the line distance in the buffer. const int LINE_DISTANCE_BUFFER_BITS = 14; |