diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-19 17:37:36 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | 37fa88b599658ddbae712dd74bd08be4d47cdce1 (patch) | |
tree | 062837ae37411827880440beece3cc5e1c26a5d0 | |
parent | d5a00c0d05030a875ebd85356509ee270bdb7410 (diff) | |
download | pucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.tar.gz pucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.tar.bz2 pucket-37fa88b599658ddbae712dd74bd08be4d47cdce1.zip |
Remove unused function
-rw-r--r-- | flam3.c | 35 | ||||
-rw-r--r-- | flam3.h | 3 |
2 files changed, 0 insertions, 38 deletions
@@ -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; @@ -572,9 +572,6 @@ void rotate_by(double *p, double *center, double by); void flam3_init_frame(flam3_frame *f); -flam3_genome *sheep_loop(flam3_genome *cp, double blend); -flam3_genome *sheep_edge(flam3_genome *cp, double blend, int seqflag, double stagger); - /* Motion function indices */ #define MOTION_SIN 1 #define MOTION_TRIANGLE 2 |