summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flam3.c35
-rw-r--r--flam3.h3
2 files changed, 0 insertions, 38 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;
diff --git a/flam3.h b/flam3.h
index dad0bc7..e780533 100644
--- a/flam3.h
+++ b/flam3.h
@@ -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