#5101 clang-format: Adjusted penalties

Use lower absolute values to improve control of behavior
This commit is contained in:
Magne Sjaastad
2020-02-12 11:43:15 +01:00
parent 10f0abc9b5
commit c82df63e10
710 changed files with 3167 additions and 4721 deletions

View File

@@ -180,7 +180,8 @@ void RivPipeGeometryGenerator::computeCircle( double radius,
double fLocalNormCoordZ = cvf::Math::sin( angle );
// Compute normal (vector going from center to the point on the circle)
// Do it this way and we can use this normal directly as long as both input orientation vectors are normalized (which they should be)
// Do it this way and we can use this normal directly as long as both input orientation vectors are normalized
// (which they should be)
normal = yDirection * fLocalNormCoordY + zDirection * fLocalNormCoordZ;
normal.normalize();
@@ -725,7 +726,8 @@ void RivPipeGeometryGenerator::updateFilteredPipeCenterCoords()
}
}
// Add the last point, as the above loop will not end the last none-zero segment, but wait for the start of the next valid one.
// Add the last point, as the above loop will not end the last none-zero segment, but wait for the start of the next
// valid one.
m_filteredPipeCenterCoords.push_back( m_originalPipeCenterCoords->get( lastOriginalCoordIdx ) );