Added some missing Add***Ocf() for the default case.

This commit is contained in:
Paolo Cignoni 2006-10-09 20:20:55 +00:00
parent f41e699da1
commit 904814041d
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $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 Revision 1.12 2006/05/03 21:37:02 cignoni
Added Optional Mark Added Optional Mark
@ -417,6 +420,11 @@ template < class T> class InfoOcf: public T {
public: public:
vector_ocf<typename T::FaceType> &Base() const { return *_ovp;} vector_ocf<typename T::FaceType> &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 { inline int Index() const {
typename T::FaceType const *tp=static_cast<typename T::FaceType const *>(this); typename T::FaceType const *tp=static_cast<typename T::FaceType const *>(this);
int tt2=tp- &*(_ovp->begin()); int tt2=tp- &*(_ovp->begin());