parent
f90bb2ca26
commit
729882debb
|
@ -139,7 +139,7 @@ aiMesh *StandardShapes::MakeMesh(const std::vector<aiVector3D> &positions,
|
|||
aiFace &f = out->mFaces[i];
|
||||
f.mNumIndices = numIndices;
|
||||
f.mIndices = new unsigned int[numIndices];
|
||||
for (unsigned int j = 0; i < numIndices; ++i, ++a) {
|
||||
for (unsigned int j = 0; j < numIndices; ++j, ++a) {
|
||||
f.mIndices[j] = a;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue