1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Change i++ to ++i

This commit is contained in:
David Jones 2015-08-25 21:23:05 +01:00 committed by ShadowNinja
parent 2480f2d06f
commit 34b7a147dc
41 changed files with 125 additions and 125 deletions

View file

@ -1548,7 +1548,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
std::vector<aabb3f> boxes = n.getNodeBoxes(nodedef);
for(std::vector<aabb3f>::iterator
i = boxes.begin();
i != boxes.end(); i++)
i != boxes.end(); ++i)
{
for(int j = 0; j < 6; j++)
{
@ -1689,7 +1689,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
v3f pos = intToFloat(p, BS);
f32 d = 0.05 * BS;
for (std::vector<aabb3f>::iterator i = boxes.begin();
i != boxes.end(); i++) {
i != boxes.end(); ++i) {
aabb3f box = *i;
box.MinEdge += v3f(-d, -d, -d) + pos;
box.MaxEdge += v3f(d, d, d) + pos;