removed dangerous 'using namespace vcg'

This commit is contained in:
Paolo Cignoni 2004-02-19 14:33:00 +00:00
parent 5df7571769
commit 067b327350
1 changed files with 19 additions and 18 deletions

View File

@ -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