Skip to content
Snippets Groups Projects
Commit af40667b authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

ensure GLM experimental is set

parent 65aec1b5
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ namespace fggl::gfx { ...@@ -37,7 +37,7 @@ namespace fggl::gfx {
std::string geometry; std::string geometry;
bool hasGeom = false; 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 { return {
.name = name, .name = name,
.vertex = name + "_vert.glsl", .vertex = name + "_vert.glsl",
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <iostream> #include <iostream>
#include "fggl/math/vector.hpp" #include "fggl/math/vector.hpp"
#include <glm/ext/matrix_transform.hpp> #include <glm/ext/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp> #include <glm/gtc/quaternion.hpp>
#include <glm/gtx/transform.hpp> #include <glm/gtx/transform.hpp>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <ostream> #include <ostream>
#define GLM_ENABLE_EXPERIMENTAL
#define GLM_FORCE_MESSAGES #define GLM_FORCE_MESSAGES
#include <glm/glm.hpp> #include <glm/glm.hpp>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment