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

pull/2628/head
escherstair 2019-08-29 10:57:23 +02:00 committed by GitHub
parent cb2beba073
commit 340611785a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ void X3DImporter::ParseNode_Geometry3D_Cone()
{ {
StandardShapes::MakeCircle(bottomRadius, tess, tvec); StandardShapes::MakeCircle(bottomRadius, tess, tvec);
height = -(height / 2); 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 // copy data from temp array