Browse Source

prefer prefix ++/-- operators for non-primitive types

escherstair 6 years ago
parent
commit
340611785a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/X3D/X3DImporter_Geometry3D.cpp

+ 1 - 1
code/X3D/X3DImporter_Geometry3D.cpp

@@ -153,7 +153,7 @@ void X3DImporter::ParseNode_Geometry3D_Cone()
 		{
 			StandardShapes::MakeCircle(bottomRadius, tess, tvec);
 			height = -(height / 2);
-			for(std::vector<aiVector3D>::iterator it = tvec.begin(); it != tvec.end(); it++) it->y = height;// y - because circle made in oXZ.
+			for(std::vector<aiVector3D>::iterator it = tvec.begin(); it != tvec.end(); ++it) it->y = height;// y - because circle made in oXZ.
 		}
 
 		// copy data from temp array