コード例 #1
0
ファイル: M3Importer.cpp プロジェクト: gzorin/assimp
// ------------------------------------------------------------------------------------------------
//	Check for readable file format.
bool M3Importer::CanRead( const std::string &rFile, IOSystem* /*pIOHandler*/, bool checkSig ) const
{
	if ( !checkSig )
		return SimpleExtensionCheck( rFile, M3Extension.c_str() );

	return true;
}
コード例 #2
0
ファイル: M3Importer.cpp プロジェクト: 3dicc/Urho3D
// ------------------------------------------------------------------------------------------------
//	Check for readable file format.
bool M3Importer::CanRead( const std::string &rFile, IOSystem* /*pIOHandler*/, bool checkSig ) const
{
	if ( !checkSig ) {
		return SimpleExtensionCheck( rFile, "m3" );
	}

	return false;
}