From 59fced91b1f01424686b3702f9eb9f79cdadf7ba Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Fri, 7 Feb 2025 10:18:08 -0600 Subject: [PATCH] Change miter threshold on stroke shader --- manimlib/shaders/quadratic_bezier/stroke/geom.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/shaders/quadratic_bezier/stroke/geom.glsl b/manimlib/shaders/quadratic_bezier/stroke/geom.glsl index d2ebb98b..fe85b611 100644 --- a/manimlib/shaders/quadratic_bezier/stroke/geom.glsl +++ b/manimlib/shaders/quadratic_bezier/stroke/geom.glsl @@ -33,7 +33,7 @@ const float COS_THRESHOLD = 0.999; // Used to determine how many lines to break the curve into const float POLYLINE_FACTOR = 100; const int MAX_STEPS = 32; -const float MITER_COS_ANGLE_THRESHOLD = -0.9; +const float MITER_COS_ANGLE_THRESHOLD = -0.8; #INSERT emit_gl_Position.glsl #INSERT finalize_color.glsl