add 'modelviewer' ui element

This commit is contained in:
MihailRis 2025-05-24 19:28:24 +03:00
parent 761afe51a5
commit 7a25560bc0
7 changed files with 261 additions and 11 deletions

View file

@ -10,6 +10,7 @@
class GLSLExtension;
class Shader {
static Shader* used;
uint id;
std::unordered_map<std::string, uint> uniformLocations;
@ -43,4 +44,6 @@ public:
const std::string& vertexSource,
const std::string& fragmentSource
);
static Shader& getUsed();
};