removed dangerous 'using namespace vcg'
This commit is contained in:
parent
5df7571769
commit
067b327350
|
@ -1,19 +1,20 @@
|
|||
#ifndef __VCGLIB_VERTEX__N__TYPE
|
||||
#define __VCGLIB_VERTEX__N__TYPE
|
||||
|
||||
#define VERTEX_TYPE VertexN
|
||||
|
||||
#define __VCGLIB_VERTEX_N
|
||||
|
||||
#include <vcg/simplex/vertex/base.h>
|
||||
|
||||
#undef VERTEX_TYPE
|
||||
|
||||
#undef __VCGLIB_VERTEX_N
|
||||
|
||||
using namespace vcg;
|
||||
|
||||
typedef VertexN<float> VertexNf;
|
||||
typedef VertexN<double> VertexNd;
|
||||
|
||||
#ifndef __VCGLIB_VERTEX__N__TYPE
|
||||
#define __VCGLIB_VERTEX__N__TYPE
|
||||
|
||||
#define VERTEX_TYPE VertexN
|
||||
|
||||
#define __VCGLIB_VERTEX_N
|
||||
|
||||
#include <vcg/simplex/vertex/base.h>
|
||||
|
||||
#undef VERTEX_TYPE
|
||||
|
||||
#undef __VCGLIB_VERTEX_N
|
||||
|
||||
namespace vcg {
|
||||
|
||||
typedef VertexN<float> VertexNf;
|
||||
typedef VertexN<double> VertexNd;
|
||||
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue