From a20f579018d6e475772ad224d207499d6a543c99 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 10 Sep 2013 10:55:17 +0000 Subject: [PATCH] updated to the func name changes in Stat --- apps/sample/trimesh_closest/trimesh_closest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sample/trimesh_closest/trimesh_closest.cpp b/apps/sample/trimesh_closest/trimesh_closest.cpp index cf69606a..fe72e45c 100644 --- a/apps/sample/trimesh_closest/trimesh_closest.cpp +++ b/apps/sample/trimesh_closest/trimesh_closest.cpp @@ -117,7 +117,7 @@ bool UnitTest_Closest(const char *filename1, int sampleNum, float dispPerc, std: } else { - float avgEdge = tri::Stat::ComputeFaceEdgeAverage(mr); + float avgEdge = tri::Stat::ComputeEdgeLengthAverage(mr); TRGrid.SetWithRadius(mr.face.begin(),mr.face.end(),avgEdge*2); }