Added support for point and line primitives.
Added SortByPType and DeterminePType (anon.) steps Optimized ASE, fixed 3DS. Rewrite all loaders to conform to the api changes. Optimized normal computation code in LWOLoader.cpp Added new unit tests Added test file for AC3D (good old wuson again) git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@167 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -283,6 +283,8 @@ void RAWImporter::InternReadFile( const std::string& pFile,
|
||||
aiMesh* mesh = pScene->mMeshes[meshIdx] = new aiMesh();
|
||||
mesh->mMaterialIndex = meshIdx++;
|
||||
|
||||
mesh->mPrimitiveTypes = aiPrimitiveType_TRIANGLE;
|
||||
|
||||
// allocate storage for the vertex components and copy them
|
||||
mesh->mNumVertices = (unsigned int)(*it2).vertices.size();
|
||||
mesh->mVertices = new aiVector3D[ mesh->mNumVertices ];
|
||||
|
||||
Reference in New Issue
Block a user