Optimized triangulation algorithm. Must more faster now.
Added loader for TERRAGEN terrains (*.ter). ScenePreprocessor generates a default material if none is given. AC: file extension bug Added terragen test files. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@279 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -129,10 +129,7 @@ bool AC3DImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler) cons
|
||||
for( std::string::iterator it = extension.begin(); it != extension.end(); ++it)
|
||||
*it = tolower( *it);
|
||||
|
||||
if( extension == ".ac" || extension == "ac")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return( extension == ".ac3d" || extension == ".ac");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user