Commit 181b5d26 authored by chili's avatar chili
Browse files

add texcoord to layout

parent 374f508f
......@@ -245,6 +245,7 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a
VertexLayout{}
.Append( VertexLayout::Position3D )
.Append( VertexLayout::Normal )
.Append( VertexLayout::Texture2D )
) );
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