mirror of
https://github.com/scottdraves/flam3.git
synced 2025-07-12 03:04:52 -04:00
added mobius variation (the one with 8 params, eralex's).
git-svn-id: https://flam3.googlecode.com/svn/trunk@151 77852712-ef1d-11de-8684-7d64432d61a3
This commit is contained in:

committed by
Scott Draves

parent
4565e804f1
commit
0053026871
@ -59,7 +59,7 @@ int flam3_get_palette(int palette_index, flam3_palette p, double hue_rotation);
|
||||
|
||||
extern char *flam3_variation_names[];
|
||||
|
||||
#define flam3_nvariations 98
|
||||
#define flam3_nvariations 99
|
||||
#define flam3_nxforms 12
|
||||
|
||||
#define flam3_parent_fn_len 30
|
||||
@ -178,6 +178,7 @@ extern char *flam3_variation_names[];
|
||||
#define VAR_COTH 95
|
||||
#define VAR_AUGER 96
|
||||
#define VAR_FLUX 97
|
||||
#define VAR_MOBIUS 98
|
||||
|
||||
typedef struct {
|
||||
|
||||
@ -389,6 +390,12 @@ typedef struct xform {
|
||||
|
||||
/* Flux */
|
||||
double flux_spread;
|
||||
|
||||
/* Mobius */
|
||||
double mobius_re_a, mobius_im_a;
|
||||
double mobius_re_b, mobius_im_b;
|
||||
double mobius_re_c, mobius_im_c;
|
||||
double mobius_re_d, mobius_im_d;
|
||||
|
||||
/* If perspective is used, precalculate these values */
|
||||
/* from the _angle and _dist */
|
||||
|
Reference in New Issue
Block a user