summaryrefslogtreecommitdiff
path: root/flam3.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-19 17:37:36 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit37fa88b599658ddbae712dd74bd08be4d47cdce1 (patch)
tree062837ae37411827880440beece3cc5e1c26a5d0 /flam3.c
parentd5a00c0d05030a875ebd85356509ee270bdb7410 (diff)
downloadpucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.tar.gz
pucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.tar.bz2
pucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.zip
Remove unused function
Diffstat (limited to 'flam3.c')
-rw-r--r--flam3.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/flam3.c b/flam3.c
index 6f2056f..641801d 100644
--- a/flam3.c
+++ b/flam3.c
@@ -231,41 +231,6 @@ int flam3_iterate(flam3_genome *cp, int n, int fuse, const double4 in, double4 *
return(badvals);
}
-flam3_genome *sheep_loop(flam3_genome *cp, double blend) {
-
- flam3_genome *result;
- int i;
-
- /* Allocate the genome - this must be freed by calling function */
- result = calloc(1,sizeof(flam3_genome));
-
- /* Clear it */
- clear_cp(result,flam3_defaults_on);
-
- /* Copy the original */
- flam3_copy(result,cp);
-
- /*
- * Insert motion magic here :
- * if there are motion elements, we will modify the contents of
- * the result genome before flam3_rotate is called.
- */
- for (i=0;i<cp->num_xforms;i++) {
- if (cp->xform[i].num_motion>0) {
- /* Apply motion parameters to result.xform[i] using blend parameter */
- apply_motion_parameters(&cp->xform[i], &result->xform[i], blend);
- }
-
- /* Delete the motion parameters from the result */
- flam3_delete_motion_elements(&result->xform[i]);
- }
-
- /* Rotate the affines */
- flam3_rotate(result, blend*360.0,result->interpolation_type);
-
- return(result);
-}
-
/* BY is angle in degrees */
void flam3_rotate(flam3_genome *cp, double by, int interpolation_type) {
int i;