diff options
Diffstat (limited to 'src/algebra/color.spad.pamphlet')
-rw-r--r-- | src/algebra/color.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/color.spad.pamphlet b/src/algebra/color.spad.pamphlet index 74025c2d..b1a4963f 100644 --- a/src/algebra/color.spad.pamphlet +++ b/src/algebra/color.spad.pamphlet @@ -72,11 +72,11 @@ Color(): Exports == Implementation where SF ==> DoubleFloat Exports ==> AbelianSemiGroup with - "*" : (PI, %) -> % + * : (PI, %) -> % ++ s * c, returns the color c, whose weighted shade has been scaled by s. - "*" : (SF, %) -> % + * : (SF, %) -> % ++ s * c, returns the color c, whose weighted shade has been scaled by s. - "+" : (%, %) -> % + + : (%, %) -> % ++ c1 + c2 additively mixes the two colors c1 and c2. red : () -> % ++ red() returns the position of the red hue from total hues. |