5 #ifndef ENGINE_PROJ_DEBUG_H
6 #define ENGINE_PROJ_DEBUG_H
8 #endif //ENGINE_PROJ_DEBUG_H
10 #include "GLBuffer.hpp"
21 static std::map<std::string, float> varLookup;
29 static void setDebug(
const std::string& key,
float var);
36 static float&
getDebug(
const std::string &key);
43 glm::mat4 out = glm::mat4(1);
45 out *= glm::scale(glm::vec3{1.f, 1.f, 1.f});
47 out *= glm::rotate(glm::radians(
Debug::getDebug(
"debug_ry")), glm::vec3{0.f, 1.f, 0.f});
48 out *= glm::rotate(glm::radians(
Debug::getDebug(
"debug_rx")), glm::vec3{1.f, 0.f, 0.f});
50 out *= glm::translate(glm::vec3 {