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.
 
 

14 lines
326 B

#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);
};