From fffd61bbed125b23a2e090ef9d09880eb65b8915 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 5 Nov 2014 17:23:39 +0000 Subject: [PATCH] updated the sample to the last changes --- .../trimesh_implicit_smooth/trimesh_implicit_smooth.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/sample/trimesh_implicit_smooth/trimesh_implicit_smooth.cpp b/apps/sample/trimesh_implicit_smooth/trimesh_implicit_smooth.cpp index 678185c4..f50e143f 100644 --- a/apps/sample/trimesh_implicit_smooth/trimesh_implicit_smooth.cpp +++ b/apps/sample/trimesh_implicit_smooth/trimesh_implicit_smooth.cpp @@ -71,9 +71,9 @@ int main( int argc, char **argv ) tri::UpdateTopology::FaceFace(m); - ImplicitSmoother::SmoothParam SP; - ImplicitSmoother ISmooth(m); - ISmooth.Smooth(SP); + ImplicitSmoother::Parameter par; + par.lambda = 0.5f; + ImplicitSmoother::Compute(m,par); tri::io::ExporterPLY::Save(m,"smooth.ply",tri::io::Mask::IOM_VERTCOLOR | tri::io::Mask::IOM_VERTQUALITY);