Commit 55aefc03 authored by chili's avatar chili
Browse files

exploring properties

parent e288866e
...@@ -247,6 +247,11 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a ...@@ -247,6 +247,11 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a
) ); ) );
auto& material = *pMaterials[mesh.mMaterialIndex]; auto& material = *pMaterials[mesh.mMaterialIndex];
for( int i = 0; i < material.mNumProperties; i++ )
{
auto& prop = *material.mProperties[i];
int qqq = 90;
}
for( unsigned int i = 0; i < mesh.mNumVertices; i++ ) for( unsigned int i = 0; i < mesh.mNumVertices; i++ )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment