From ea7b394eb3084ae3049ef6d3f514f81d392c764e Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 30 Sep 2008 10:41:41 +0000 Subject: [PATCH] [Namespaces changes] vert->vertex clean up of some namespaces to comply the following naming: Complexes (3 letters namespaces): order 0 (point cloud ) :vrt order 1 (edge meshes) :edg order 2 (triangle meshes) :tri order 3 (triangle meshes) :tet Simplexes (4 letters namespaces): order 0 (vertex) :vert order 1 (edge) :edge order 2 (triangle) :triangle order 3 (tetrahedron) :tetrahedron --- vcg/simplex/vertexplus/component.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index 762f6b89..355ef0a3 100644 --- a/vcg/simplex/vertexplus/component.h +++ b/vcg/simplex/vertexplus/component.h @@ -122,7 +122,7 @@ First working version! #include namespace vcg { - namespace vert { + namespace vertex { /* Some naming Rules All the Components that can be added to a vertex should be defined in the namespace vert: @@ -333,7 +333,7 @@ private: ColorType _color; }; -template class Color4b: public vert::Color { +template class Color4b: public Color { public: static void Name(std::vector & name){name.push_back(std::string("Color4b"));TT::Name(name);} };