add namespaces and GetExportMaskCapability

This commit is contained in:
granzuglia 2007-10-17 05:47:14 +00:00
parent 12c8c9f3ff
commit ff0cf2eacd
1 changed files with 21 additions and 0 deletions

View File

@ -6,6 +6,9 @@
#include <fstream> #include <fstream>
#include <ostream> #include <ostream>
namespace vcg {
namespace tri {
namespace io {
class TextUtility class TextUtility
{ {
public: public:
@ -195,6 +198,24 @@ public:
idtf.write(1,"}"); idtf.write(1,"}");
idtf.write(0,"}"); idtf.write(0,"}");
} }
static int GetExportMaskCapability()
{
int capability = 0;
//vert
capability |= MeshModel::IOM_VERTNORMAL;
////wedg
capability |= MeshModel::IOM_WEDGTEXCOORD;
capability |= MeshModel::IOM_WEDGNORMAL;
return capability;
}
}; };
}
}
}
#endif #endif