From fcf54790eac7e5bcdd4b5f2844d2c9273e07a45b Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 28 Jan 2008 14:46:03 +0000 Subject: [PATCH] added hasPerWedgeColor and HasPerWedgeNormal --- vcg/complex/trimesh/base.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vcg/complex/trimesh/base.h b/vcg/complex/trimesh/base.h index 08203bd2..dfd5ac3c 100644 --- a/vcg/complex/trimesh/base.h +++ b/vcg/complex/trimesh/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.29 2008/01/28 08:42:07 cignoni +added HasPerFaceNormal and HasPerVertexNormal + Revision 1.28 2007/03/12 15:38:03 tarini Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. @@ -345,6 +348,12 @@ bool HasPerVertexNormal (const TriMesh < VertContainerType , FaceContainerType> template < class VertContainerType, class FaceContainerType > bool HasPerWedgeTexCoord (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasWedgeTexCoord();} +template < class VertContainerType, class FaceContainerType > +bool HasPerWedgeNormal (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasWedgeNormal();} + +template < class VertContainerType, class FaceContainerType > +bool HasPerWedgeColor (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasWedgeColor();} + template < class VertContainerType, class FaceContainerType > bool HasPerFaceFlags (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasFlags();}