diff options
Diffstat (limited to 'include/blender')
-rw-r--r-- | include/blender/blender.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/blender/blender.h b/include/blender/blender.h index 356c68e..8e89208 100644 --- a/include/blender/blender.h +++ b/include/blender/blender.h | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | #include "common/time.h" | 9 | #include "common/time.h" |
10 | #include "blender/canvas.h" | 10 | #include "blender/canvas.h" |
11 | #include "blender/color.h" | ||
12 | #include "morpher/morpher.h" | 11 | #include "morpher/morpher.h" |
13 | 12 | ||
14 | /** | 13 | /** |
@@ -24,19 +23,4 @@ | |||
24 | */ | 23 | */ |
25 | void blender_blend_canvas(Canvas *canvas, Canvas *source, Canvas *target, Morphing *morphing, TimeVector frame); | 24 | void blender_blend_canvas(Canvas *canvas, Canvas *source, Canvas *target, Morphing *morphing, TimeVector frame); |
26 | 25 | ||
27 | /** | ||
28 | * Function: blender_blend_colors | ||
29 | * Properly blends two coloured pixels, interpolated at the given time frame. | ||
30 | * (https://www.youtube.com/watch?v=LKnqECcg6Gw) | ||
31 | * | ||
32 | * Parameters: | ||
33 | * origin - the origin colour | ||
34 | * target - the target colour | ||
35 | * frame - the interpolation distance from the origin colour [0;1] | ||
36 | * | ||
37 | * Returns: | ||
38 | * The blended coloured pixel | ||
39 | */ | ||
40 | Color blender_blend_colors(Color origin, Color target, TimeVector frame); | ||
41 | |||
42 | #endif | 26 | #endif |