#include <vector>
-static const std::string OpenGexExt = "ogex";
-
static const aiImporterDesc desc = {
"Open Game Engine Exchange",
"",
0,
0,
0,
- OpenGexExt.c_str()
+ "ogex"
};
namespace Grammar {
bool OpenGEXImporter::CanRead( const std::string &file, IOSystem *pIOHandler, bool checkSig ) const {
bool canRead( false );
if( !checkSig ) {
- canRead = SimpleExtensionCheck( file, OpenGexExt.c_str() );
+ canRead = SimpleExtensionCheck( file, "ogex" );
} else {
static const char *token[] = { "Metric", "GeometryNode", "VertexArray (attrib", "IndexArray" };
canRead = BaseImporter::SearchFileHeaderForToken( pIOHandler, file, token, 4 );