summaryrefslogtreecommitdiff
path: root/src/flam3.h
diff options
context:
space:
mode:
authorErik Reckase <e.reckase@gmail.com>2011-01-02 23:38:13 +0000
committerScott Draves <spot@draves.org>2015-02-15 12:20:14 -0500
commit0053026871a3def94980593ca56364ee6a7c0f71 (patch)
treeab08c6afda2d6a0825097c765dc0fc6eae850c5d /src/flam3.h
parent4565e804f1667d4be0cccb77e0d32f2c351bd996 (diff)
downloadpucket-0053026871a3def94980593ca56364ee6a7c0f71.tar.gz
pucket-0053026871a3def94980593ca56364ee6a7c0f71.tar.bz2
pucket-0053026871a3def94980593ca56364ee6a7c0f71.zip
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
Diffstat (limited to 'src/flam3.h')
-rw-r--r--src/flam3.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/flam3.h b/src/flam3.h
index 3c7cda7..e94ec89 100644
--- a/src/flam3.h
+++ b/src/flam3.h
@@ -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 */