diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-10-11 08:19:29 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-10-11 08:19:29 -0400 |
commit | 68e8c3bac0363a4a0dec1bf9c5b534283ea9dce7 (patch) | |
tree | eb284fff6f2c23acc65150757b363a651a221296 | |
parent | c18c6db9122f9396b238d69d3dafc60273086f5d (diff) |
graphics: color: Remove 'color' procedure.
Use 'make-color' instead.
-rw-r--r-- | chickadee/graphics/color.scm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chickadee/graphics/color.scm b/chickadee/graphics/color.scm index 1a0be6d..497ecd3 100644 --- a/chickadee/graphics/color.scm +++ b/chickadee/graphics/color.scm @@ -26,7 +26,7 @@ #:use-module (srfi srfi-9) #:use-module (srfi srfi-1) #:use-module (chickadee math) - #:export (color make-color + #:export (make-color color? color-r color-g color-b color-a rgba rgb transparency string->color @@ -68,9 +68,6 @@ (clamp 0.0 1.0 b) (clamp 0.0 1.0 a)))) -(define-inlinable (color r g b a) - (make-color r g b a)) - (define (color-component color-code offset) "Return the value of an 8-bit color channel in the range [0,1] for the integer COLOR-CODE, given an OFFSET in bits." |