From aad5008716b9f53c40233a8d891bea82d1b3e5f3 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 18 May 2016 13:58:50 +0000 Subject: [PATCH] Improved tsmeasure. Found a nasty bug in trisurf regarding snapshot accuracy. Fixed it. --- src/triangle.h | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/triangle.h b/src/triangle.h index 46be57e..dd5280e 100644 --- a/src/triangle.h +++ b/src/triangle.h @@ -1,17 +1,11 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _TRIANGLE_H #define _TRIANGLE_H ts_triangle_list *init_triangle_list(void); ts_triangle *triangle_add(ts_triangle_list *tlist, ts_vertex *vtx1, ts_vertex *vtx2, ts_vertex *vtx3); - -/** Adds a neighbouring triangle in a list - * @param *tria is a pointer to the triangle, to which additional member want to be added - * @param *ntria is a pointer to neighbouring triangle - * @returns TS_SUCCESS on success, TS_FAIL otherwise. If memory cannot be alloccated, this is considered as serious error and the execution is immediately terminated with error code returned to the underlying operating system - */ ts_bool triangle_add_neighbour(ts_triangle *tria, ts_triangle *ntria); ts_bool triangle_normal_vector(ts_triangle *tria); -ts_bool triangle_data_free(ts_triangle_data *triang); ts_bool triangle_list_free(ts_triangle_list *tlist); - +ts_bool triangle_remove_neighbour(ts_triangle *tria, ts_triangle *ntria); #endif -- Gitblit v1.9.3