From 335afeee7efac4a763f38cbd0fd2fa165c9b6dea Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 18 Mar 2010 10:03:00 +0000 Subject: [PATCH] Disambiguated the origin of the ScalarType and CoordType in the simplex class. Now it derives from the type specified by the vertexRef component for the faces and from the Coord component for the vertexes. To be sure the ScalarType and CoordTypes are initialized to weird point3 and char just to detect easisly when the wrong types shallow... --- vcg/complex/used_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/used_types.h b/vcg/complex/used_types.h index 9960f7c0..695cdac5 100755 --- a/vcg/complex/used_types.h +++ b/vcg/complex/used_types.h @@ -13,8 +13,8 @@ struct DummyTypes{ typedef char TetraType; typedef char HEdgeType; // connector types - typedef vcg::Point3f CoordType; // connector types - typedef float ScalarType; // connector types + typedef vcg::Point3 CoordType; // connector types + typedef char ScalarType; // connector types typedef VertexType * VertexPointer; typedef EdgeType * EdgePointer ;