dodanie textur
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#include "timeh.hpp"
|
||||
#include "GL/glm/glm.hpp"
|
||||
#include "loadOBJ.h"
|
||||
#include "texture.hpp"
|
||||
#include "shader.hpp"
|
||||
|
||||
class lazik {
|
||||
private:
|
||||
@@ -23,10 +25,17 @@ class lazik {
|
||||
GLuint vertexbuffer;
|
||||
GLuint uvbuffer;
|
||||
const char* modelpath;
|
||||
//GLuint programID;
|
||||
//GLuint Texture;
|
||||
//GLuint TextureID;
|
||||
//const char* texturepath;
|
||||
public:
|
||||
// lazik(float x, float y, float z, const char* modelpath, const char* texturepath);
|
||||
lazik(float x, float y, float z, const char* modelpath);
|
||||
//void passProgramID(GLuint programID);
|
||||
void loadModel();
|
||||
void draw();
|
||||
void unload();
|
||||
void moveX(float x);
|
||||
void moveY(float y);
|
||||
void moveZ(float z);
|
||||
|
||||
Reference in New Issue
Block a user