prefer prefix ++/-- operators for non-primitive types
parent
cb2beba073
commit
340611785a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue