From a90b2a79efd4888851416521c2c9255b471739e3 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 17 Jun 2014 14:48:39 +0000 Subject: [PATCH] Wrong type cast --- vcg/complex/algorithms/refine_loop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/refine_loop.h b/vcg/complex/algorithms/refine_loop.h index d643b5d4..14e300ff 100644 --- a/vcg/complex/algorithms/refine_loop.h +++ b/vcg/complex/algorithms/refine_loop.h @@ -337,8 +337,8 @@ struct LS3Projection { normal.Normalize(); } - nv.first = Coord(position.X(), position.Y(), position.Z()); - nv.second = Coord(normal.X(), normal.Y(), normal.Z()); + nv.first = CoordType(position.X(), position.Y(), position.Z()); + nv.second = CoordType(normal.X(), normal.Y(), normal.Z()); } };