FEM: modernize C++: use range-based for loop
This commit is contained in:
@@ -190,9 +190,8 @@ void ViewProviderFemConstraintDisplacement::updateData(const App::Property* prop
|
||||
Gui::coinRemoveAllChildren(pShapeSep);
|
||||
#endif
|
||||
|
||||
for (std::vector<Base::Vector3d>::const_iterator p = points.begin(); p != points.end();
|
||||
p++) {
|
||||
SbVec3f base(p->x, p->y, p->z);
|
||||
for (const auto & point : points) {
|
||||
SbVec3f base(point.x, point.y, point.z);
|
||||
SbVec3f dirx(1, 0, 0); //OvG: Make relevant to global axes
|
||||
SbVec3f diry(0, 1, 0); //OvG: Make relevant to global axes
|
||||
SbVec3f dirz(0, 0, 1); //OvG: Make relevant to global axes
|
||||
|
||||
Reference in New Issue
Block a user