#pragma once #include "ggl.h" #include "vertexbuffer.h" #include "shader.h" class Model { VertexBuffer* mVertexBuffer; Shader*mShader; public: glm::mat4 mModelMatrix; Model(); void Init(const char*modelPath); void Draw(glm::mat4 & viewMatrix, glm::mat4 projectionMatrix); void SetPosition(float x, float y, float z); };