feat: assignment 2

This commit is contained in:
2025-10-13 15:04:53 +02:00
parent 986e31dbef
commit f981cee4e0
17 changed files with 649 additions and 56 deletions

17
src/state.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef STATE_H_
#define STATE_H_
#include <memory>
#include "../lib/glm/glm.hpp"
class Shader;
class State {
public:
static std::shared_ptr<Shader> defaultShader;
static glm::mat4 projectionMatrix;
static glm::mat4 viewMatrix;
static glm::mat4 modelMatrix;
};
#endif // STATE_H_