diff options
Diffstat (limited to 'flam3.h')
-rw-r--r-- | flam3.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -507,3 +507,13 @@ typedef struct { #define CROSS_INTERPOLATE 1 #define CROSS_ALTERNATE 2 +typedef struct { + unsigned int consec, lastxf; + double4 p; + const unsigned short *xform_distrib; + const flam3_genome *genome; +} iterator; + +void iterator_init (iterator * const iter, const flam3_genome * const genome, + const unsigned short * const xform_distrib, randctx * const rc); +bool iterator_step (iterator * const iter, double4 * const ret, randctx * const rc); |