Finished loading of MD2, MD3, MDL2, MDL3, MDL4, MDL5, MDL7, MDL. First WIP version of the SMD loader. Additionals checks added to the validation step.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@60 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-06-22 10:09:26 +00:00
parent 758e092449
commit b422d4e303
90 changed files with 7349 additions and 2105 deletions

View File

@@ -65,11 +65,11 @@ DefaultIOSystem::~DefaultIOSystem()
// Tests for the existence of a file at the given path.
bool DefaultIOSystem::Exists( const std::string& pFile) const
{
FILE* file = fopen( pFile.c_str(), "rb");
FILE* file = ::fopen( pFile.c_str(), "rb");
if( !file)
return false;
fclose( file);
::fclose( file);
return true;
}
@@ -77,7 +77,7 @@ bool DefaultIOSystem::Exists( const std::string& pFile) const
// Open a new file with a given path.
IOStream* DefaultIOSystem::Open( const std::string& strFile, const std::string& strMode)
{
FILE* file = fopen( strFile.c_str(), strMode.c_str());
FILE* file = ::fopen( strFile.c_str(), strMode.c_str());
if( NULL == file)
return NULL;