mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-27 03:53:24 +00:00
beginning of .vb reader test
class preparation for testing
This commit is contained in:
@@ -66,9 +66,11 @@ namespace vb01{
|
||||
indices[numFaceIndices * i + j] = mesh->mFaces[i].mIndices[j];
|
||||
}
|
||||
}
|
||||
//if(mesh->mMaterialIndex>=0){
|
||||
// aiMaterial *material=scene->mMaterial[mesh->mMaterialIndex];
|
||||
//}
|
||||
/*
|
||||
if(mesh->mMaterialIndex>=0){
|
||||
aiMaterial *material=scene->mMaterial[mesh->mMaterialIndex];
|
||||
}
|
||||
*/
|
||||
currentNode->attachMesh(new Mesh(vertices, indices, numTris));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user