diff options
author | pacien | 2018-01-09 16:14:18 +0100 |
---|---|---|
committer | pacien | 2018-01-09 16:14:18 +0100 |
commit | 38195a70192301e7df5b69bf2266a04a0b90a532 (patch) | |
tree | 2ad004884b1d5348e7b0812e514293eda3cd7d66 /src/painter/rasterizer.c | |
parent | 76cb6ee14cb72eba8df8112604d9c2e8598d2448 (diff) | |
download | morpher-master.tar.gz |
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'src/painter/rasterizer.c')
-rw-r--r-- | src/painter/rasterizer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/painter/rasterizer.c b/src/painter/rasterizer.c index 1ba726c..f4b3b89 100644 --- a/src/painter/rasterizer.c +++ b/src/painter/rasterizer.c | |||
@@ -2,6 +2,13 @@ | |||
2 | #include <math.h> | 2 | #include <math.h> |
3 | #include <assert.h> | 3 | #include <assert.h> |
4 | 4 | ||
5 | /** | ||
6 | * File: rasterizer.c | ||
7 | * | ||
8 | * Author: | ||
9 | * Pacien TRAN-GIRARD | ||
10 | */ | ||
11 | |||
5 | static inline IntVector i(double (*f)(double, double), RealVector a, RealVector b) { | 12 | static inline IntVector i(double (*f)(double, double), RealVector a, RealVector b) { |
6 | return (IntVector) floor(f(a, b)); | 13 | return (IntVector) floor(f(a, b)); |
7 | } | 14 | } |