- UPDATE : Q3BSPLoader now imports topology of a quake-level. Known issues: It seems, that faces a still missing.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@771 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
kimmi
2010-07-08 21:25:48 +00:00
parent edb2fca8d6
commit 7f2f5e7555
5 changed files with 278 additions and 21 deletions

View File

@@ -48,22 +48,22 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ObjFileData.h"
namespace Assimp {
// ------------------------------------------------------------------------------------------------
using namespace std;
// ------------------------------------------------------------------------------------------------
// Default constructor
ObjFileImporter::ObjFileImporter() :
m_pRootObject(NULL)
m_Buffer(),
m_pRootObject( NULL ),
m_strAbsPath( "" )
{
DefaultIOSystem io;
m_strAbsPath = io.getOsSeparator();
}
// ------------------------------------------------------------------------------------------------
// Destructor
// Destructor.
ObjFileImporter::~ObjFileImporter()
{
// Release root object instance
@@ -75,7 +75,7 @@ ObjFileImporter::~ObjFileImporter()
}
// ------------------------------------------------------------------------------------------------
// Returns true, fi file is an obj file
// Returns true, if file is an obj file.
bool ObjFileImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler , bool checkSig ) const
{
if(!checkSig) //Check File Extension