diff options
-rw-r--r-- | chickadee/graphics/path.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chickadee/graphics/path.scm b/chickadee/graphics/path.scm index fac8c2c..9fb859d 100644 --- a/chickadee/graphics/path.scm +++ b/chickadee/graphics/path.scm @@ -1327,11 +1327,11 @@ (outputs (frag-color (case mode - ((0) + ((0) ; solid color color) - ((1) + ((1) ; linear gradient (gradient-mix (-> frag-position x))) - ((2) + ((2) ; radial gradient (let ((p (* frag-position (vec2 1.0 radial-gradient-ratio)))) (gradient-mix (length p)))) |