From e9c87efeb9235748e8d19a3f5a067ec442d8a500 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Thu, 17 Apr 2014 07:32:43 +0000 Subject: [PATCH] Changed atan to atan2 for transfroming coordinates from cartesian to spherical. Added function for reverse transformation --- src/vertex.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vertex.h b/src/vertex.h index 7f494c6..cca12ee 100644 --- a/src/vertex.h +++ b/src/vertex.h @@ -1,6 +1,8 @@ #ifndef _VERTEX_H #define _VERTEX_H +ts_bool vertex_list_assign_id(ts_vertex_list *vlist, ts_uint id); + /** @brief Creates initial vertex list * * Allocates memory and initializes the vertices. @@ -30,7 +32,5 @@ 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