From d5a00c0d05030a875ebd85356509ee270bdb7410 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Mar 2015 17:08:55 +0100 Subject: Rewrite color palettes Supports palettes with != 256 colors properly now. A lot of old code still (silently!) relies on that number though. --- interpolation.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'interpolation.h') diff --git a/interpolation.h b/interpolation.h index 61ea49d..21e333e 100644 --- a/interpolation.h +++ b/interpolation.h @@ -43,8 +43,10 @@ void mult_matrix(double s1[2][2], double s2[2][2], double d[2][2]); int compare_xforms(const void *av, const void *bv); +#if 0 void interpolate_cmap(flam3_palette cmap, double blend, int index0, double hue0, int index1, double hue1, randctx * const); +#endif void interp_and_convert_back(double *c, int ncps, int xfi, double cxang[4][2], double cxmag[4][2], double cxtrn[4][2],double store_array[3][2]); void convert_linear_to_polar(flam3_genome *cp, int ncps, int xfi, int cflag, -- cgit v1.2.3