From bd171b714f8890f9fe3f14418da736dde94d218e Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 8 Oct 2012 09:10:03 +0000 Subject: [PATCH] Orthography lenght -> length --- vcg/complex/algorithms/parametrization/distortion.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vcg/complex/algorithms/parametrization/distortion.h b/vcg/complex/algorithms/parametrization/distortion.h index 8ceecb49..360c4995 100644 --- a/vcg/complex/algorithms/parametrization/distortion.h +++ b/vcg/complex/algorithms/parametrization/distortion.h @@ -60,8 +60,8 @@ namespace vcg { static ScalarType EdgeLenght3D(const FaceType *f,int e) { assert((e>=0)&&(e<3)); - ScalarType lenght=(f->P0(e)-f->P1(e)).Norm(); - return (lenght); + ScalarType length=(f->P0(e)-f->P1(e)).Norm(); + return (length); } static ScalarType EdgeLenghtUV(const FaceType *f,int e) @@ -75,8 +75,8 @@ namespace vcg { uv0=f->cV0(e)->T().P(); uv1=f->cV1(e)->T().P(); } - ScalarType UVlenght=Distance(uv0,uv1); - return UVlenght; + ScalarType UVlength=Distance(uv0,uv1); + return UVlength; } static ScalarType AngleCos3D(const FaceType *f,int e) @@ -203,7 +203,7 @@ namespace vcg { EdgeScale=SumEdge3D/SumEdge2D; } - ///return the variance of edge lenght, normalized in absolute value, + ///return the variance of edge length, normalized in absolute value, // the needed scaling factor EdgeScaleVal may be calculated ///by using the ScalingFactor function static ScalarType EdgeDistortion(const FaceType *f,int e,