chore: correct tri ordering when loading gltf

This commit is contained in:
Jan 2024-09-03 19:55:38 +02:00
parent 14784fb1c4
commit 0bd581ef75
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -351,9 +351,9 @@ namespace
} }
object.m_faces.emplace_back(XModelFace{ object.m_faces.emplace_back(XModelFace{
vertexOffset + indices[0],
vertexOffset + indices[1],
vertexOffset + indices[2], vertexOffset + indices[2],
vertexOffset + indices[1],
vertexOffset + indices[0],
}); });
} }