From 919555150e5676cae7f7c471e4bdf30d563bcb12 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Mon, 09 Jul 2012 09:36:07 +0000 Subject: [PATCH] Fixed centermass functon to move the vertices so cm is always 0 --- src/general.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/general.h b/src/general.h index 1a90e97..6263862 100644 --- a/src/general.h +++ b/src/general.h @@ -187,6 +187,7 @@ ts_double ynorm; ts_double znorm; ts_double area; // firstly needed for sh.c + ts_double volume; // firstly needed for sh.c }; typedef struct ts_triangle ts_triangle; @@ -216,6 +217,8 @@ typedef struct { ts_uint l; ts_double **ulm; + ts_double **sumUlm2; + ts_uint N; ts_double **co; ts_double ***Ylmi; } ts_spharm; -- Gitblit v1.9.3