Added Model and related classes

This commit is contained in:
sippeangelo
2015-11-24 10:55:54 +01:00
parent 34e095b54b
commit 16eb70dd59
14 changed files with 958 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef Model_h__
#define Model_h__
#include "Rendering/RawModel.h"
class Model : public RawModel
{
friend class ResourceManager;
private:
Model(std::string fileName);
public:
~Model();
GLuint VAO;
GLuint ElementBuffer;
private:
GLuint VertexBuffer;
GLuint DiffuseVertexColorBuffer;
GLuint SpecularVertexColorBuffer;
GLuint NormalBuffer;
GLuint TangentNormalsBuffer;
GLuint BiTangentNormalsBuffer;
GLuint TextureCoordBuffer;
};
#endif