diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-02-18 14:55:40 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-06-08 08:14:41 -0400 |
commit | bbe79c2fd6d87d6327b11876bc46ec9231868855 (patch) | |
tree | 6fda6a66d1846bf789f75a4ee540ea61c2f20528 | |
parent | a67087cb3a9e214f88a73d05a4b6f9629869b618 (diff) |
Add comments to fill fragment shader.
-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)))) |