updated the sample to the last changes
This commit is contained in:
parent
e29b6f4a46
commit
fffd61bbed
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue