浏览代码

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

escherstair 6 年之前
父节点
当前提交
75993ad653
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/X3D/X3DImporter_Geometry3D.cpp

+ 1 - 1
code/X3D/X3DImporter_Geometry3D.cpp

@@ -230,7 +230,7 @@ void X3DImporter::ParseNode_Geometry3D_Cylinder()
 
 
 		if(top)
 		if(top)
 		{
 		{
-			for(std::vector<aiVector3D>::iterator it = tcir.begin(); it != tcir.end(); it++)
+			for(std::vector<aiVector3D>::iterator it = tcir.begin(); it != tcir.end(); ++it)
 			{
 			{
 				(*it).y = height;// y - because circle made in oXZ.
 				(*it).y = height;// y - because circle made in oXZ.
 				vlist.push_back(*it);
 				vlist.push_back(*it);