mirror of
https://github.com/scottdraves/flam3.git
synced 2025-01-21 05:20:05 -05:00
s array in interpolate_n was one element too small
git-svn-id: https://flam3.googlecode.com/svn/trunk@163 77852712-ef1d-11de-8684-7d64432d61a3
This commit is contained in:
parent
026dba70a7
commit
39e3709d6f
@ -366,7 +366,7 @@ void flam3_interpolate_n(flam3_genome *result, int ncp,
|
|||||||
if (flam3_palette_interpolation_hsv == cpi[0].palette_interpolation) {
|
if (flam3_palette_interpolation_hsv == cpi[0].palette_interpolation) {
|
||||||
|
|
||||||
for (i = 0; i < 256; i++) {
|
for (i = 0; i < 256; i++) {
|
||||||
double t[3], s[4];
|
double t[3], s[5];
|
||||||
int alpha1 = 1;
|
int alpha1 = 1;
|
||||||
|
|
||||||
s[0] = s[1] = s[2] = s[3] = s[4] = 0.0;
|
s[0] = s[1] = s[2] = s[3] = s[4] = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user