#ifndef _MODEL_H
#define _MODDEL_H
#include "vec.h"
#include "poly.h"
#include <string>
class Model {
	private:
		std::vector<Poly*> faces;
		Vec* position;
		Vec* rotation;
	public:
		Model();
		Model(std::vector<Poly*> & _faces);
		~Model();
		void setCenter(Vec& c);
		Vec calcCenter();
		void rotate(Vec rot);
		void draw();
		void addFace(Poly* face);
		int numFaces();
		void vardump(std::string whitespace);
};
#endif