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<bool> and char just to detect easisly when the wrong types shallow...

This commit is contained in:
Paolo Cignoni 2010-03-18 10:03:00 +00:00
parent 63e21f15cb
commit 335afeee7e
1 changed files with 2 additions and 2 deletions

View File

@ -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<bool> CoordType; // connector types
typedef char ScalarType; // connector types
typedef VertexType * VertexPointer;
typedef EdgeType * EdgePointer ;