]> git.localhorst.tv Git - gong.git/blob - src/graphics/glm.hpp
code, assets, and other stuff stolen from blank
[gong.git] / src / graphics / glm.hpp
1 #ifndef GONG_GRAPHICS_GLM_HPP_
2 #define GONG_GRAPHICS_GLM_HPP_
3
4 #ifndef GLM_FORCE_RADIANS
5 #  define GLM_FORCE_RADIANS 1
6 #endif
7
8 #include <glm/glm.hpp>
9
10 // GLM moved tvec[1234] from glm::detail to glm in 0.9.6
11
12 #if GLM_VERSION < 96
13 #  define TVEC1 glm::detail::tvec1
14 #  define TVEC2 glm::detail::tvec2
15 #  define TVEC3 glm::detail::tvec3
16 #  define TVEC4 glm::detail::tvec4
17 #else
18 #  define TVEC1 glm::tvec1
19 #  define TVEC2 glm::tvec2
20 #  define TVEC3 glm::tvec3
21 #  define TVEC4 glm::tvec4
22 #endif
23
24 #endif