bunch of test things

also new camera class
This commit is contained in:
Claire Schwarzer 2026-02-02 03:12:29 +01:00
parent b47c5e27d8
commit 89e47fa56c
10 changed files with 496 additions and 54 deletions

View file

@ -1,10 +1,9 @@
#pragma once

#include <iostream>
#include <glad/glad.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image/stb_image.h>
#include <stb/stb_image.h>
class Texture
{
@ -48,7 +47,7 @@ public:
void Draw() const
{
glActiveTexture(GL_TEXTURE);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, ID);
}
};