added the color to the vertex attributes

This commit is contained in:
ganovelli 2008-09-30 10:06:17 +00:00
parent 164ea33a6c
commit 51105e36e7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ just color and quality on the vertex
#include <vcg/simplex/faceplus/component_rt.h> #include <vcg/simplex/faceplus/component_rt.h>
class MyEdge; class MyEdge;
class CFace; class CFace;
class CVertex : public vcg::VertexSimp2<CVertex,MyEdge,CFace,vcg::vert::Coord3d,vcg::vert::Qualityf,vcg::vert::Normal3d,vcg::vert::BitFlags> {}; class CVertex : public vcg::VertexSimp2<CVertex,MyEdge,CFace,vcg::vert::Coord3d,vcg::vert::Qualityf,vcg::vert::Normal3d,vcg::vert::Color4b,vcg::vert::BitFlags> {};
class CFace : public vcg::FaceSimp2< CVertex,MyEdge,CFace,vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane,vcg::face::Color4b,vcg::face::Mark,vcg::face::BitFlags> {}; class CFace : public vcg::FaceSimp2< CVertex,MyEdge,CFace,vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane,vcg::face::Color4b,vcg::face::Mark,vcg::face::BitFlags> {};
class CMesh : public vcg::tri::TriMesh< std::vector<CVertex>, std::vector<CFace> > {}; class CMesh : public vcg::tri::TriMesh< std::vector<CVertex>, std::vector<CFace> > {};
#else #else