mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-format
This commit is contained in:
parent
cc5335d46f
commit
ef4894985a
@ -21,16 +21,15 @@
|
||||
|
||||
namespace cvf
|
||||
{
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
template <typename Vec3Type>
|
||||
Vec3Type GeometryTools::computePolygonCenter(const std::vector<Vec3Type>& polygon)
|
||||
Vec3Type GeometryTools::computePolygonCenter( const std::vector<Vec3Type>& polygon )
|
||||
{
|
||||
Vec3Type s;
|
||||
|
||||
for (size_t i = 0; i < polygon.size(); i++)
|
||||
for ( size_t i = 0; i < polygon.size(); i++ )
|
||||
{
|
||||
s.x() += polygon[i].x();
|
||||
s.y() += polygon[i].y();
|
||||
|
Loading…
Reference in New Issue
Block a user