22 lines
572 B
C++
22 lines
572 B
C++
#include <vector>
|
|
|
|
#include <vcg/simplex/vertex/base.h>
|
|
#include <vcg/simplex/vertex/component.h>
|
|
#include <vcg/simplex/face/base.h>
|
|
#include <vcg/simplex/face/component.h>
|
|
|
|
#include <vcg/complex/complex.h>
|
|
|
|
class MyEdge;
|
|
class MyFace;
|
|
|
|
class MyVertex: public vcg::VertexSimp2<MyVertex,MyEdge,MyFace, vcg::vert::Coord3d, vcg::vert::Normal3f>{};
|
|
class MyFace: public vcg::FaceSimp2<MyVertex,MyEdge,MyFace, vcg::face::VertexRef>{};
|
|
|
|
class MyMesh: public vcg::tri::TriMesh< std::vector<MyVertex>, std::vector<MyFace> > {};
|
|
|
|
int main()
|
|
{
|
|
MyMesh m;
|
|
return 0;
|
|
} |