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:
@@ -30,9 +30,8 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RivWellConnectionFactorGeometryGenerator::RivWellConnectionFactorGeometryGenerator(
|
||||
std::vector<CompletionVizData>& completionVizData,
|
||||
float radius )
|
||||
RivWellConnectionFactorGeometryGenerator::RivWellConnectionFactorGeometryGenerator( std::vector<CompletionVizData>& completionVizData,
|
||||
float radius )
|
||||
: m_completionVizData( completionVizData )
|
||||
, m_radius( radius )
|
||||
, m_trianglesPerConnection( 0 )
|
||||
@@ -315,7 +314,8 @@ void RivWellConnectionFactorGeometryGenerator::createSimplifiedStarGeometry( std
|
||||
float thickness )
|
||||
{
|
||||
// Suggested improvement
|
||||
// As the nodes are duplicated, it will be possible create only vertices and then use DrawableGeo::setFromTriangleVertexArray
|
||||
// As the nodes are duplicated, it will be possible create only vertices and then use
|
||||
// DrawableGeo::setFromTriangleVertexArray
|
||||
|
||||
auto p0 = cvf::Vec3f::Y_AXIS * thickness;
|
||||
auto p1 = -p0;
|
||||
|
||||
Reference in New Issue
Block a user