From b01cc1ac677dc712c27337be8ee4f11ea336f31b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo@andromeda> Date: Sun, 05 Dec 2010 13:02:22 +0000 Subject: [PATCH] Fixed some nasty bugs. Still, I suspect the vertex neighbours are not correctly oriented or something, since tristar triangles are not successfully set. (tristar_no is not always the same as neigh_no!) --- src/vertex.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/vertex.h b/src/vertex.h index e0df249..0c61c85 100644 --- a/src/vertex.h +++ b/src/vertex.h @@ -23,4 +23,12 @@ ts_bool vtx_free(ts_vertex *vtx); ts_bool vtx_list_free(ts_vertex_list *vlist); inline ts_double vtx_distance_sq(ts_vertex *vtx1, ts_vertex *vtx2); +ts_bool vtx_set_global_values(ts_vesicle *vesicle); +inline ts_double vtx_direct(ts_vertex *vtx1, ts_vertex *vtx2, ts_vertex *vtx3); +inline ts_bool vertex_add_tristar(ts_vertex *vtx, ts_triangle *tristarmem); + +ts_bool vtx_copy(ts_vertex *cvtx,ts_vertex *ovtx); +ts_vertex **vtx_neigh_copy(ts_vertex_list *vlist,ts_vertex *ovtx); +ts_vertex_list *vertex_list_copy(ts_vertex_list *ovlist); + #endif -- Gitblit v1.9.3