Fixed Windows build.
This commit is contained in:
parent
f3d926ff14
commit
559ee5f3c3
@ -44,8 +44,8 @@ Mesh loadMesh(const mijin::PathReference& path)
|
||||
for (int vertexIdx = 0; vertexIdx < 3; ++vertexIdx)
|
||||
{
|
||||
const tinyobj::index_t& index = shape.mesh.indices[indexOffset + vertexIdx];
|
||||
glm::vec3 normal;
|
||||
glm::vec2 texcoord;
|
||||
glm::vec3 normal = {1.f, 0.f, 0.f};
|
||||
glm::vec2 texcoord = {0.f, 0.f};
|
||||
|
||||
if (index.normal_index > -1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user