Fix typo
--HG-- branch : feature-export-assimp
This commit is contained in:
parent
efccbdd3af
commit
5fe1f2c711
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ bool assimpBuildMesh(CMesh::CMeshBuild &buildMesh, CMeshBase::CMeshBaseBuild &bu
|
||||||
face.Corner[1].Vertex = vertexRemapping[mi][af.mIndices[1]];
|
face.Corner[1].Vertex = vertexRemapping[mi][af.mIndices[1]];
|
||||||
face.Corner[2].Vertex = vertexRemapping[mi][af.mIndices[2]];
|
face.Corner[2].Vertex = vertexRemapping[mi][af.mIndices[2]];
|
||||||
face.Corner[0].Normal = convVector(mesh->mNormals[af.mIndices[0]]);
|
face.Corner[0].Normal = convVector(mesh->mNormals[af.mIndices[0]]);
|
||||||
face.Corner[0].Normal = convVector(mesh->mNormals[af.mIndices[1]]);
|
face.Corner[1].Normal = convVector(mesh->mNormals[af.mIndices[1]]);
|
||||||
face.Corner[0].Normal = convVector(mesh->mNormals[af.mIndices[2]]);
|
face.Corner[2].Normal = convVector(mesh->mNormals[af.mIndices[2]]);
|
||||||
// TODO: If we want normal maps, we need to add tangent vectors to CFace and build process
|
// TODO: If we want normal maps, we need to add tangent vectors to CFace and build process
|
||||||
// TODO: UV
|
// TODO: UV
|
||||||
if (numColorChannels > 0) // TODO: Verify
|
if (numColorChannels > 0) // TODO: Verify
|
||||||
|
|
Loading…
Reference in a new issue