| 581 | } |
| 582 | |
| 583 | bool IsMeshInvalid(const aiMesh* aMesh) |
| 584 | { |
| 585 | return aMesh->mPrimitiveTypes != aiPrimitiveType_TRIANGLE || aMesh->mNumVertices == 0 || aMesh->mNumFaces == 0 || aMesh->mFaces[0].mNumIndices != 3; |
| 586 | } |
| 587 | |
| 588 | bool ImportMesh(int32 index, ModelData& result, AssimpImporterData& data, String& errorMsg) |
| 589 | { |