Skip to content

Commit

Permalink
Build fix to define GLM_ENABLE_EXPERIMENTAL. This was needed for Rasp…
Browse files Browse the repository at this point in the history
…berry Pi build, possibly because of older glmdev version.
  • Loading branch information
slackstone committed May 30, 2021
1 parent 182dd5f commit 1df160f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/math/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <math.h>
#include <iosfwd>

#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <glm/gtx/io.hpp>


using Vector = glm::vec2;

namespace math {
Expand Down

0 comments on commit 1df160f

Please sign in to comment.