From 38195a70192301e7df5b69bf2266a04a0b90a532 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 9 Jan 2018 16:14:18 +0100 Subject: Update report, add authorship to C files Signed-off-by: pacien --- src/painter/color.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/painter/color.c') diff --git a/src/painter/color.c b/src/painter/color.c index 65c4f20..bf03359 100644 --- a/src/painter/color.c +++ b/src/painter/color.c @@ -1,6 +1,13 @@ #include "painter/color.h" #include +/** + * File: color.c + * + * Author: + * Pacien TRAN-GIRARD + */ + static inline ColorComponent blend_component(ColorComponent origin, ColorComponent target, TimeVector frame) { return (ColorComponent) round(sqrt((TIME_UNIT - frame) * pow(origin, 2) + frame * pow(target, 2))); } -- cgit v1.2.3