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/frame.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/frame.c b/src/frame.c index aeaef21..237aa87 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2,6 +2,7 @@ #include "general.h" #include "cell.h" #include "frame.h" + ts_bool centermass(ts_vesicle *vesicle){ ts_uint i,j, n=vesicle->vlist->n; ts_vertex **vtx=vesicle->vlist->vtx; -- Gitblit v1.9.3