vb model mesh reader test, beginning of skeleton test

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent 36eade4356
commit 33d077bc94
8 changed files with 196 additions and 76 deletions
+3 -1
View File
@@ -71,6 +71,8 @@ namespace vb01{
aiMaterial *material=scene->mMaterial[mesh->mMaterialIndex];
}
*/
currentNode->attachMesh(new Mesh(vertices, indices, numTris));
Mesh *vbMesh = new Mesh(vertices, indices, numTris);
vbMesh ->construct();
currentNode->attachMesh(vbMesh);
}
}