From 904814041d467161a40f9ffc97dd69801cdd0b11 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 9 Oct 2006 20:20:55 +0000 Subject: [PATCH] Added some missing Add***Ocf() for the default case. --- vcg/simplex/faceplus/component_ocf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vcg/simplex/faceplus/component_ocf.h b/vcg/simplex/faceplus/component_ocf.h index 8c96ccb6..ce6dcfa3 100644 --- a/vcg/simplex/faceplus/component_ocf.h +++ b/vcg/simplex/faceplus/component_ocf.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.13 2006/05/25 09:39:09 cignoni +missing std and other gcc detected syntax errors + Revision 1.12 2006/05/03 21:37:02 cignoni Added Optional Mark @@ -417,6 +420,11 @@ template < class T> class InfoOcf: public T { public: vector_ocf &Base() const { return *_ovp;} + static bool HasFaceColorOcf() { return false; } + static bool HasFaceNormalOcf() { return false; } + static bool HasFaceMarkOcf() { return false; } + static bool HasWedgeTextureOcf() { return false; } + inline int Index() const { typename T::FaceType const *tp=static_cast(this); int tt2=tp- &*(_ovp->begin());