Commit f9dee600 authored by Pierre Kraemer's avatar Pierre Kraemer

aesthetic commit

parent 0e2304fe
......@@ -73,7 +73,10 @@ protected:
public:
FunctorAverageOnSphereBorder(typename PFP::MAP& map, const AttributeHandler<T>& a, const AttributeHandler<VEC3>& p) :
FunctorMap<typename PFP::MAP>(map), attr(a), position(p), sum(0), count(0)
{center = VEC3(0); radius = 0;}
{
center = VEC3(0);
radius = 0;
}
bool operator()(Dart d)
{
typename PFP::REAL alpha = 0;
......
......@@ -106,10 +106,8 @@ void filterTaubin_modified(typename PFP::MAP& map, typename PFP::TVEC3& position
mv.mark(d);
c1.collectBorder(d) ;
VEC3 center = position[d] ;
fa1.reset (center, radius) ;
fa1.reset(center, radius) ;
c1.applyOnBorder(fa1) ;
VEC3 displ = fa1.getAverage() - center ;
displ *= lambda ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment