#pragma once #include "Polygon3D.h" #include "Vertex.h" #include using namespace std; class Model { public: Model(); ~Model(); const vector& GetPolygons(); const vector& GetVertices(); size_t GetPolygonCount(); size_t GetVerticesCount(); void AddVertex(float x, float y, float z); void AddPolygon(int index0, int index1, int index2); private: vector _polygons; vector _vertices; };