mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Change miter threshold on stroke shader
This commit is contained in:
parent
054865569e
commit
59fced91b1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const float COS_THRESHOLD = 0.999;
|
||||||
// Used to determine how many lines to break the curve into
|
// Used to determine how many lines to break the curve into
|
||||||
const float POLYLINE_FACTOR = 100;
|
const float POLYLINE_FACTOR = 100;
|
||||||
const int MAX_STEPS = 32;
|
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 emit_gl_Position.glsl
|
||||||
#INSERT finalize_color.glsl
|
#INSERT finalize_color.glsl
|
||||||
|
|
Loading…
Add table
Reference in a new issue