You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
326 B

5 years ago
  1. #pragma once
  2. #include "ggl.h"
  3. #include "vertexbuffer.h"
  4. #include "shader.h"
  5. class Model {
  6. VertexBuffer* mVertexBuffer;
  7. Shader*mShader;
  8. public:
  9. glm::mat4 mModelMatrix;
  10. Model();
  11. void Init(const char*modelPath);
  12. void Draw(glm::mat4 & viewMatrix, glm::mat4 projectionMatrix);
  13. void SetPosition(float x, float y, float z);
  14. };