Skip to content

Commit

Permalink
GRAPHICS: i++ -> ++i
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 19, 2013
1 parent dbcf983 commit b163099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/aurora/model_nwn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ void ModelNode_NWN_Binary::readMesh(Model_NWN::ParserContext &ctx) {
vn.pointer = vertexData + vpsize * vertexCountNew;
vertexDecl.push_back(vn);

for (norms_set_it i = verts_norms.begin(); i != verts_norms.end(); i++) {
for (norms_set_it i = verts_norms.begin(); i != verts_norms.end(); ++i) {
v = (float *) vn.pointer + i->vi * vnsize;
*v++ = i->xyz[0];
*v++ = i->xyz[0];
Expand Down Expand Up @@ -1351,7 +1351,7 @@ void ModelNode_NWN_ASCII::processMesh(Mesh &mesh) {

_vertexBuffer.setVertexDecl(vertexDecl);

for (verts_set_it i = verts.begin(); i != verts.end(); i++) {
for (verts_set_it i = verts.begin(); i != verts.end(); ++i) {
float *v = vertexData + i->i * vertexSize / sizeof(float);

// Position
Expand Down

0 comments on commit b163099

Please sign in to comment.