updated the sample to the last changes

This commit is contained in:
Paolo Cignoni 2014-11-05 17:23:39 +00:00
parent e29b6f4a46
commit fffd61bbed
1 changed files with 3 additions and 3 deletions

View File

@ -71,9 +71,9 @@ int main( int argc, char **argv )
tri::UpdateTopology<MyMesh>::FaceFace(m); tri::UpdateTopology<MyMesh>::FaceFace(m);
ImplicitSmoother<MyMesh>::SmoothParam SP; ImplicitSmoother<MyMesh>::Parameter par;
ImplicitSmoother<MyMesh> ISmooth(m); par.lambda = 0.5f;
ISmooth.Smooth(SP); ImplicitSmoother<MyMesh>::Compute(m,par);
tri::io::ExporterPLY<MyMesh>::Save(m,"smooth.ply",tri::io::Mask::IOM_VERTCOLOR | tri::io::Mask::IOM_VERTQUALITY); tri::io::ExporterPLY<MyMesh>::Save(m,"smooth.ply",tri::io::Mask::IOM_VERTCOLOR | tri::io::Mask::IOM_VERTQUALITY);