Huge stuff. camera, input manager (mouse + keyboard), can move around scene now

This commit is contained in:
2026-05-04 00:41:34 -04:00
parent 9a8e618bbb
commit 3c756d6230
17 changed files with 624 additions and 119 deletions

View File

@@ -16,6 +16,9 @@ public:
Texture(unsigned int id, std::string_view filePath, int width, int height, int channels)
: id(id), filePath(filePath), width(width), height(height), channels(channels) {}
Texture(const Texture&) = delete;
Texture& operator=(const Texture&) = delete;
~Texture() { glDeleteTextures(1, &id); }
void bind() const {glBindTexture(GL_TEXTURE_2D, id);}