summaryrefslogtreecommitdiff
path: root/src/flam3.c
diff options
context:
space:
mode:
authorErik Reckase <e.reckase@gmail.com>2010-04-24 03:36:10 +0000
committerScott Draves <spot@draves.org>2015-02-15 12:20:11 -0500
commit9e40cff938a30a62dd386d5df977ad32d19d96f2 (patch)
tree9e13e9354fe22044dc6a4ca523461168fafe06c4 /src/flam3.c
parent52c9c10b8e0914ed4aedae3b721d9ad2c85a84f6 (diff)
downloadpucket-9e40cff938a30a62dd386d5df977ad32d19d96f2.tar.gz
pucket-9e40cff938a30a62dd386d5df977ad32d19d96f2.tar.bz2
pucket-9e40cff938a30a62dd386d5df977ad32d19d96f2.zip
Changed 'prepare_xform_fn_ptrs' to 'prepare_precalc_flags' as the old name no longer applied. Removed dependency of said function on the random context as it is not used in the function.
git-svn-id: https://flam3.googlecode.com/svn/trunk@5 77852712-ef1d-11de-8684-7d64432d61a3
Diffstat (limited to 'src/flam3.c')
-rw-r--r--src/flam3.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/flam3.c b/src/flam3.c
index b7a4ea2..088eb61 100644
--- a/src/flam3.c
+++ b/src/flam3.c
@@ -309,7 +309,7 @@ int flam3_xform_preview(flam3_genome *cp, int xi, double range, int numvals, int
cp->xform[xi].density = 1.0;
/* Prepare the function pointers */
- if (prepare_xform_fn_ptrs(cp,rc)) {
+ if (prepare_precalc_flags(cp)) {
cp->xform[xi].density = oldweight;
return(1);
}
@@ -369,7 +369,7 @@ int flam3_colorhist(flam3_genome *cp, int num_batches, double *hist) {
sub_batch[3] = 0;
// get into the attractor
- if (prepare_xform_fn_ptrs(cp,&rc))
+ if (prepare_precalc_flags(cp))
return(1);
xform_distrib = flam3_create_xform_distrib(cp);
@@ -3419,7 +3419,7 @@ int flam3_estimate_bounding_box(flam3_genome *cp, double eps, int nsamples,
points[2] = 0.0;
points[3] = 0.0;
- if (prepare_xform_fn_ptrs(cp,rc))
+ if (prepare_precalc_flags(cp))
return(-1);
xform_distrib = flam3_create_xform_distrib(cp);
if (xform_distrib==NULL)
@@ -3834,7 +3834,7 @@ double flam3_dimension(flam3_genome *cp, int ntries, int clip_to_camera) {
subb[1] = flam3_random_isaac_11(&rc);
subb[2] = 0.0;
subb[3] = 0.0;
- if (prepare_xform_fn_ptrs(cp,&rc))
+ if (prepare_precalc_flags(cp))
return(-1.0);
xform_distrib = flam3_create_xform_distrib(cp);
if (xform_distrib==NULL)
@@ -3929,7 +3929,7 @@ double flam3_lyapunov(flam3_genome *cp, int ntries) {
p[3] = 0.0;
// get into the attractor
- if (prepare_xform_fn_ptrs(cp,&rc))
+ if (prepare_precalc_flags(cp))
return(-1.0);
xform_distrib = flam3_create_xform_distrib(cp);
if (xform_distrib==NULL)
@@ -3944,7 +3944,7 @@ double flam3_lyapunov(flam3_genome *cp, int ntries) {
// take one deterministic step
srandom(i);
- if (prepare_xform_fn_ptrs(cp,&rc))
+ if (prepare_precalc_flags(cp))
return(-1.0);
xform_distrib = flam3_create_xform_distrib(cp);
if (xform_distrib==NULL)
@@ -3973,7 +3973,7 @@ double flam3_lyapunov(flam3_genome *cp, int ntries) {
// take the same step but with eps
srandom(i);
- if (prepare_xform_fn_ptrs(cp,&rc))
+ if (prepare_precalc_flags(cp))
return(-1.0);
xform_distrib = flam3_create_xform_distrib(cp);
if (xform_distrib==NULL)