added HasNormalOcf() and HasColorOcf().

This commit is contained in:
Marco Di Benedetto 2009-06-28 03:14:48 +00:00
parent caa076ea1c
commit 29b9011026
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,7 @@ public:
template < class LeftV>
void ImportLocal(const LeftV & left ) { if(LeftV::HasNormal()) N() = left.cN(); T::ImportLocal( left); }
static bool HasNormal() { return true; }
static bool HasNormalOcf() { return false; }
static void Name(std::vector<std::string> & name){name.push_back(std::string("Normal"));T::Name(name);}
private:
@ -327,6 +328,7 @@ public:
template < class LeftV>
void ImportLocal(const LeftV & left ) { if(LeftV::HasColor()) C() = left.cC(); T::ImportLocal( left); }
static bool HasColor() { return true; }
static bool HasColorOcf() { return true; }
static void Name(std::vector<std::string> & name){name.push_back(std::string("Color"));T::Name(name);}
private: