aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_qhull
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-08-23 13:26:06 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-08-23 13:26:06 +0000
commitbbbeb9fcda380ae2ac092c42e36e0eea31846bf0 (patch)
tree13a2ead432676f87af169a1bae7c535818d5065f /src/mtx_qhull
parentb801e58f0dc2ec8257026283ea4f1a657c93f700 (diff)
include headers
svn path=/trunk/externals/iem/iemmatrix/; revision=16170
Diffstat (limited to 'src/mtx_qhull')
-rw-r--r--src/mtx_qhull/list.c4
-rw-r--r--src/mtx_qhull/vectors.c5
-rw-r--r--src/mtx_qhull/zhull.c6
3 files changed, 15 insertions, 0 deletions
diff --git a/src/mtx_qhull/list.c b/src/mtx_qhull/list.c
index 07ce4f2..a464ae9 100644
--- a/src/mtx_qhull/list.c
+++ b/src/mtx_qhull/list.c
@@ -1,4 +1,8 @@
+#include "list.h"
+#include <stdlib.h>
+#include <stdio.h>
+
// memory things:
list_t emptyList(void) {
list_t generated_list;
diff --git a/src/mtx_qhull/vectors.c b/src/mtx_qhull/vectors.c
index 909543e..6cc3dd8 100644
--- a/src/mtx_qhull/vectors.c
+++ b/src/mtx_qhull/vectors.c
@@ -1,3 +1,8 @@
+#include "vectors.h"
+#include <math.h>
+#include <stdlib.h>
+#include <stdio.h>
+
vector_t initVector (float x, float y, float z) {
vector_t vec={x, y, z};
diff --git a/src/mtx_qhull/zhull.c b/src/mtx_qhull/zhull.c
index d13260e..58f636e 100644
--- a/src/mtx_qhull/zhull.c
+++ b/src/mtx_qhull/zhull.c
@@ -1,7 +1,13 @@
+#include "zhull.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+
#define TOL 1e-7
#define MAXIT 1000000
+
vector_t averageListedPoints(const points_t points, const list_t list) {
index_t i;
vector_t m = initVector(0.0f, 0.0f, 0.0f);