mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user