diff --git a/include/fggl/gfx/ogl/shader.hpp b/include/fggl/gfx/ogl/shader.hpp index a5cba96718b86da8fdea34da8d465448c7d09880..3828f43d59e06a7080715951c15e29c43f940a2e 100644 --- a/include/fggl/gfx/ogl/shader.hpp +++ b/include/fggl/gfx/ogl/shader.hpp @@ -37,7 +37,7 @@ namespace fggl::gfx { std::string geometry; bool hasGeom = false; - constexpr static ShaderConfig named(const std::string &name, bool hasGeom = false) { + static ShaderConfig named(const std::string &name, bool hasGeom = false) { return { .name = name, .vertex = name + "_vert.glsl", diff --git a/include/fggl/math/types.hpp b/include/fggl/math/types.hpp index 8899ab983558d022e14ea824adc760ccc1696fc8..07ad9a0690edad7f8c70a8d11a1281c0b107de52 100644 --- a/include/fggl/math/types.hpp +++ b/include/fggl/math/types.hpp @@ -19,6 +19,7 @@ #include <iostream> #include "fggl/math/vector.hpp" + #include <glm/ext/matrix_transform.hpp> #include <glm/gtc/quaternion.hpp> #include <glm/gtx/transform.hpp> diff --git a/include/fggl/math/vector.hpp b/include/fggl/math/vector.hpp index 20a9a25180b65a6ef5b5a92a86d4e1e471b6fc88..84dd0a9450d98b9ea39f4ab3d4fa9723a125774f 100644 --- a/include/fggl/math/vector.hpp +++ b/include/fggl/math/vector.hpp @@ -21,6 +21,7 @@ #include <ostream> +#define GLM_ENABLE_EXPERIMENTAL #define GLM_FORCE_MESSAGES #include <glm/glm.hpp>