From 439a4e0f10dd120b563039012d07eb5f1b3c8ded Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 24 Nov 2013 11:45:32 +0000 Subject: [PATCH] Change in mutex location. Now in ts_vertex. Tried to lock cell change. Not working. Bug persists. --- src/vertex.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/vertex.h b/src/vertex.h index 98efff5..7f494c6 100644 --- a/src/vertex.h +++ b/src/vertex.h @@ -24,10 +24,13 @@ 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); - +inline ts_bool vtx_insert_neighbour(ts_vertex *vtx, ts_vertex *nvtx, ts_vertex *vtxm); +inline ts_bool vtx_remove_tristar(ts_vertex *vtx, ts_triangle *tristar); ts_bool vtx_copy(ts_vertex *cvtx,ts_vertex *ovtx); ts_bool vtx_duplicate(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); - +ts_bool vertex_taint(ts_vertex *vtx, ts_uint level); +ts_bool vertex_untaint(ts_vertex *vtx, ts_uint level); +inline ts_bool vertex_tainted(ts_vertex *vtx, ts_uint level, ts_uint amount); #endif -- Gitblit v1.9.3