From 0371a3c5be9a4a132d3b63f9f39f94570c035498 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Mon, 14 Sep 2015 12:03:19 +0000 Subject: [PATCH] templated Point3 to scalar at line 355 --- vcg/complex/algorithms/update/normal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/normal.h b/vcg/complex/algorithms/update/normal.h index b8e1a70d..967669a2 100644 --- a/vcg/complex/algorithms/update/normal.h +++ b/vcg/complex/algorithms/update/normal.h @@ -352,7 +352,7 @@ static void PerVertexMatrix(ComputeMeshType &m, const Matrix44 &mat, if(remove_scaling){ scale = pow(mat33.Determinant(),(ScalarType)(1.0/3.0)); - Point3f scaleV(scale,scale,scale); + Point3 scaleV(scale,scale,scale); Matrix33 S; S.SetDiagonal(scaleV.V()); mat33*=S;