Fixes by clang-format

This commit is contained in:
github-actions[bot] 2020-09-29 07:49:28 +00:00 committed by Magne Sjaastad
parent cc5335d46f
commit ef4894985a

View File

@ -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();