mandelbrot: Add inner variable & enum for inner coloring schemes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-13 19:26:22 +01:00
parent 3cbe9afba5
commit e8499ab171
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,10 @@ enum Outer{
NORMALIZED_ITERATION_COUNT,
};
enum Inner{
BLACK,
};
typedef struct Point {
double p[2];
uint32_t val;
@ -54,6 +58,7 @@ typedef struct {
double end_pts;
double bailout;
enum Outer outer;
enum Inner inner;
int cache_allocated;
int cache_used;
Point *point_cache;