[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
This commit is contained in:
parent
811b263e33
commit
ea7b394eb3
|
@ -122,7 +122,7 @@ First working version!
|
|||
#include <vcg/space/color4.h>
|
||||
|
||||
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 TT> class Color4b: public vert::Color<vcg::Color4b, TT> {
|
||||
template <class TT> class Color4b: public Color<vcg::Color4b, TT> {
|
||||
public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Color4b"));TT::Name(name);}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue