From 1df160fa556f6f1875b869562bb579c3bab8163b Mon Sep 17 00:00:00 2001 From: "S.Groundwater / AKA Slackstone" Date: Sun, 30 May 2021 08:42:02 -0400 Subject: [PATCH] Build fix to define GLM_ENABLE_EXPERIMENTAL. This was needed for Raspberry Pi build, possibly because of older glmdev version. --- src/math/vector.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/math/vector.hpp b/src/math/vector.hpp index 6828c7cb215..078b77302fc 100644 --- a/src/math/vector.hpp +++ b/src/math/vector.hpp @@ -16,14 +16,17 @@ #ifndef HEADER_SUPERTUX_MATH_VECTOR_HPP #define HEADER_SUPERTUX_MATH_VECTOR_HPP +#if defined(__arm__) && !defined(__ANDROID__) +#define GLM_ENABLE_EXPERIMENTAL +#endif #include #include - #include #include #include + using Vector = glm::vec2; namespace math {