added HasNormalOcf() and HasColorOcf().
This commit is contained in:
parent
caa076ea1c
commit
29b9011026
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue