summaryrefslogtreecommitdiff
path: root/include/blender/blender.h
diff options
context:
space:
mode:
authorpacien2017-12-02 20:39:43 +0100
committerpacien2017-12-02 20:42:05 +0100
commit28fee77230c77ae3429544b40df5a992769add53 (patch)
tree3b4ae1b4e4d6a08b3aab17b1bca8d44f8f96ea5f /include/blender/blender.h
parentde7b6472c31671f28708ff9ee71d6546811ed809 (diff)
downloadmorpher-28fee77230c77ae3429544b40df5a992769add53.tar.gz
Change local utility function scope
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/blender/blender.h')
-rw-r--r--include/blender/blender.h16
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 */
25void blender_blend_canvas(Canvas *canvas, Canvas *source, Canvas *target, Morphing *morphing, TimeVector frame); 24void 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 */
40Color blender_blend_colors(Color origin, Color target, TimeVector frame);
41
42#endif 26#endif