feat!: rework header files

This commit is contained in:
2026-01-06 20:07:44 +01:00
parent f4f9f4a7ac
commit 66761b8e5d
12 changed files with 122 additions and 78 deletions

20
inc/core/texture.hpp Executable file
View File

@@ -0,0 +1,20 @@
#ifndef TEXTUTE_HPP
#define TEXTUTE_HPP
#include "glad/glad.h"
#include <string>
class Texture
{
private:
unsigned int id;
public:
Texture(const std::string& path);
~Texture();
void bind(GLenum textureUnit) const;
unsigned int getID() const;
};
#endif