From 9703ced0dfab447337657a01ad2d5c6e8596d158 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 21 Feb 2008 17:27:06 +0000 Subject: [PATCH] Added HasPerVertexColor static function --- vcg/complex/trimesh/base.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vcg/complex/trimesh/base.h b/vcg/complex/trimesh/base.h index dfd5ac3c..5ed5f74a 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.30 2008/01/28 14:46:03 cignoni +added hasPerWedgeColor and HasPerWedgeNormal + Revision 1.29 2008/01/28 08:42:07 cignoni added HasPerFaceNormal and HasPerVertexNormal @@ -339,6 +342,10 @@ ScalarType Volume() template < class VertContainerType, class FaceContainerType > bool HasPerVertexQuality (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return VertContainerType::value_type::HasQuality();} +template < class VertContainerType, class FaceContainerType > +bool HasPerVertexColor (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return VertContainerType::value_type::HasColor();} + + template < class VertContainerType, class FaceContainerType > bool HasPerVertexFlags (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return VertContainerType::value_type::HasFlags();}