From 716eacfc7c2301fa20fdc71d473d4def8f790adb Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Feb 2015 19:36:02 +0100 Subject: Use floating point color values in [0,1] Internal color representation is [0,1] now for every channel. --- palettes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'palettes.h') diff --git a/palettes.h b/palettes.h index 97b9e94..3808f0c 100644 --- a/palettes.h +++ b/palettes.h @@ -23,7 +23,7 @@ typedef struct { int number; char name[flam3_name_len]; - unsigned char colors[256][3]; + double colors[256][3]; } lib_palette; #include "vector.h" -- cgit v1.2.3