From d72aabbe64ff7c0290ff290f6f1179975863bf84 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 11 Jan 2007 10:13:11 +0000 Subject: [PATCH] Rewrote the template of ComputeNormal functions to a more readable form. --- vcg/simplex/face/base.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/vcg/simplex/face/base.h b/vcg/simplex/face/base.h index 7cd62350..2d618294 100644 --- a/vcg/simplex/face/base.h +++ b/vcg/simplex/face/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.39 2006/07/12 12:14:31 zifnab1974 +changes for compilation on linux. Not sure about using either SphereOfTriangle or SphereOfTetra, please check. + Revision 1.38 2006/07/06 12:45:08 ganovelli added SmallestEnclosingSphere @@ -1251,11 +1254,11 @@ inline void Nexts( BaseFaceType *&f,int &z ) namespace face { -template -void ComputeNormal(FACE_TYPE &f) { f.N() = vcg::Normal< FACE_TYPE >(f); } +template +void ComputeNormal(FaceType &f) { f.N() = vcg::Normal< FaceType >(f); } -template -void ComputeNormalizedNormal(FACE_TYPE &f) { f.N() = vcg::NormalizedNormal< FACE_TYPE >(f); } +template +void ComputeNormalizedNormal(FaceType &f) { f.N() = vcg::NormalizedNormal< FaceType >(f); } } //@}