Windows update
This commit is contained in:
parent
947d465d11
commit
bedbe25876
3 changed files with 9 additions and 5 deletions
|
|
@ -25,9 +25,9 @@ bool loadMeshes(tp::Scene& scene, const std::string& objetsPath) {
|
|||
}
|
||||
|
||||
for (int j = 0; j < curMesh.Indices.size(); j += 3) {
|
||||
uint idx1 = (int) curMesh.Indices[j];
|
||||
uint idx2 = (int) curMesh.Indices[j + 1];
|
||||
uint idx3 = (int) curMesh.Indices[j + 2];
|
||||
uint4 idx1 = (int) curMesh.Indices[j];
|
||||
uint4 idx2 = (int) curMesh.Indices[j + 1];
|
||||
uint4 idx3 = (int) curMesh.Indices[j + 2];
|
||||
// printf("{ %i, %i, %i },\n", idx1, idx2, idx3);
|
||||
object->mTopology.Indexes.append({ idx1, idx2, idx3 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue