Mesh: fix many linter warnings

This commit is contained in:
wmayer
2024-03-11 19:46:02 +01:00
committed by wwmayer
parent 230c7aa14e
commit a7ae00237d
32 changed files with 232 additions and 138 deletions

View File

@@ -135,11 +135,11 @@ void ViewProviderMeshTransformDemolding::calcNormalVector()
void ViewProviderMeshTransformDemolding::calcMaterialIndex(const SbRotation& rot)
{
SbVec3f Up(0, 0, 1), result;
SbVec3f Up(0, 0, 1);
SbVec3f result;
int i = 0;
for (std::vector<SbVec3f>::const_iterator it = normalVector.begin(); it != normalVector.end();
++it, i++) {
for (auto it = normalVector.begin(); it != normalVector.end(); ++it, i++) {
rot.multVec(*it, result);
}
}