diff --git a/vcg/simplex/vertex/component.h b/vcg/simplex/vertex/component.h index 834ba274..b3627229 100644 --- a/vcg/simplex/vertex/component.h +++ b/vcg/simplex/vertex/component.h @@ -255,14 +255,13 @@ private: }; template class TexCoord2s: public TexCoord, TT> { - static void Name(std::vector & name){name.push_back(std::string("TexCoord2s"));TT::Name(name);} - +public: static void Name(std::vector & name){name.push_back(std::string("TexCoord2s"));TT::Name(name);} }; template class TexCoord2f: public TexCoord, TT> { - static void Name(std::vector & name){name.push_back(std::string("TexCoord2f"));TT::Name(name);} +public: static void Name(std::vector & name){name.push_back(std::string("TexCoord2f"));TT::Name(name);} }; template class TexCoord2d: public TexCoord, TT> { - static void Name(std::vector & name){name.push_back(std::string("TexCoord2d"));TT::Name(name);} +public: static void Name(std::vector & name){name.push_back(std::string("TexCoord2d"));TT::Name(name);} }; /*------------------------- FLAGS -----------------------------------------*/