From 3de2893d882d2c407375146376fbf9bb54f33e8b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 30 Apr 2014 13:44:12 +0000 Subject: [PATCH] Constant volume works. CAVEAT: in centermass I had to recalculate all normals of triangles again! This could influence behaviour of the system. --- src/triangle.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/triangle.h b/src/triangle.h index 5735581..a1a0fd0 100644 --- a/src/triangle.h +++ b/src/triangle.h @@ -5,7 +5,6 @@ ts_triangle *triangle_add(ts_triangle_list *tlist, ts_vertex *vtx1, ts_vertex *vtx2, ts_vertex *vtx3); 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