| 1234567891011121314151617181920212223 |
- #ifndef MODEL_H
- #define MODEL_H
- #include "mesh.h"
- #include "string"
- #include <matrix.h>
- class Model{
- public:
- Model(std::string path);
- void describeMesh();
- Mesh *getMesh();
- void initPosition(TransformParameters initPos);
- private:
- void buildMesh(std::string path);
- void loadVertices(std::ifstream &fileHandle);
- void loadFaces(std::ifstream &fileHandle);
- Mesh mMesh;
- };
- #endif
|