dodanie textur

This commit is contained in:
2025-01-08 04:55:58 +01:00
parent 4956d74c1a
commit 395b470b5d
29 changed files with 1848 additions and 456 deletions

View File

@@ -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);