Remove dead code
parent
5c7bed01f1
commit
35fb4c9370
|
@ -375,7 +375,6 @@ void STLImporter::LoadASCIIFile(aiNode *root) {
|
||||||
pMesh->mVertices[i].y = positionBuffer[i].y;
|
pMesh->mVertices[i].y = positionBuffer[i].y;
|
||||||
pMesh->mVertices[i].z = positionBuffer[i].z;
|
pMesh->mVertices[i].z = positionBuffer[i].z;
|
||||||
}
|
}
|
||||||
//memcpy(pMesh->mVertices, &positionBuffer[0].x, pMesh->mNumVertices * sizeof(aiVector3D));
|
|
||||||
positionBuffer.clear();
|
positionBuffer.clear();
|
||||||
}
|
}
|
||||||
// also only process normalBuffer when filled, else exception when accessing with index operator
|
// also only process normalBuffer when filled, else exception when accessing with index operator
|
||||||
|
|
Loading…
Reference in New Issue