From 04be907cbba161af7eda231f8a6a1856fc3a6042 Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Sat, 25 Aug 2012 22:51:30 +0000 Subject: improved deterministic behavior of [mtx_qhull], however planar polygons do not fully work yet. svn path=/trunk/externals/iem/iemmatrix/; revision=16172 --- src/mtx_qhull/list.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mtx_qhull/list.h') diff --git a/src/mtx_qhull/list.h b/src/mtx_qhull/list.h index dfccede..1a98256 100644 --- a/src/mtx_qhull/list.h +++ b/src/mtx_qhull/list.h @@ -1,16 +1,18 @@ #ifndef QHULL_LIST_H #define QHULL_LIST_H +#include +#include #include typedef long int entry_t; typedef long int index_t; - typedef struct list_ { entry_t *entries; size_t length; } list_t; + // memory things: list_t emptyList(void); void freeList(list_t *list); @@ -38,6 +40,7 @@ int inList(const entry_t entry, const list_t list); int notInList(const entry_t entry, const list_t list); list_t findValueListInList(const list_t value_list, const list_t list); entry_t findValueInList(const entry_t entry, const list_t list); +void uniquefyListEntries(list_t *list); void printList(const list_t list); #endif /* QHULL_LIST_H */ -- cgit v1.2.1