From 9a56fff96471352146904c425da8aae71258a002 Mon Sep 17 00:00:00 2001 From: Alexander Shalamov Date: Mon, 5 Aug 2019 11:54:06 +0300 Subject: [core] Increase round join approximation precision --- src/mbgl/renderer/buckets/line_bucket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1