diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-14 14:46:44 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | f92a757aae2bd379a60b8b17c7fec673a917701a (patch) | |
tree | f94cc2867f4a686daee370b8acaf08b96bb10da5 /flam3.h | |
parent | 6a7d86ec73c5212c52d76d9ddcb2023fc535b814 (diff) | |
download | pucket-f92a757aae2bd379a60b8b17c7fec673a917701a.tar.gz pucket-f92a757aae2bd379a60b8b17c7fec673a917701a.tar.bz2 pucket-f92a757aae2bd379a60b8b17c7fec673a917701a.zip |
Vectorize accumulation
Also vectorizes some color functions and switches to double accumulation
buffer. Does not seem to be slower.
Diffstat (limited to 'flam3.h')
-rw-r--r-- | flam3.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,10 +36,12 @@ char *flam3_version(); #define flam3_print_edits (1) #define flam3_dont_print_edits (0) +#include "vector.h" + //typedef double flam3_palette[256][3]; typedef struct { double index; - double color[4]; + double4 color; } flam3_palette_entry; typedef flam3_palette_entry flam3_palette[256]; |