summaryrefslogtreecommitdiff
path: root/src/morpher/morphing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/morpher/morphing.c')
-rw-r--r--src/morpher/morphing.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/morpher/morphing.c b/src/morpher/morphing.c
index 7df3839..39f1146 100644
--- a/src/morpher/morphing.c
+++ b/src/morpher/morphing.c
@@ -2,6 +2,13 @@
2#include <malloc.h> 2#include <malloc.h>
3#include "common/mem.h" 3#include "common/mem.h"
4 4
5/**
6 * File: morphing.c
7 *
8 * Author:
9 * Pacien TRAN-GIRARD
10 */
11
5static inline TriangleMap *init_trianglemap(IntVector width, IntVector height) { 12static inline TriangleMap *init_trianglemap(IntVector width, IntVector height) {
6 TriangleMap *bottom_left = trianglemap_create(m(0, 0), m(0, height), m(width, height)); 13 TriangleMap *bottom_left = trianglemap_create(m(0, 0), m(0, height), m(width, height));
7 TriangleMap *top_right = trianglemap_create(m(0, 0), m(width, height), m(width, 0)); 14 TriangleMap *top_right = trianglemap_create(m(0, 0), m(width, height), m(width, 0));