diff --git a/CMakeLists.txt b/CMakeLists.txt index e7e8f1f..728e97d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,8 @@ INCLUDE_DIRECTORIES( ${OPENGL_INCLUDE_DIRS} ${SDL2_INCLUDE_DIRS} + + ${GLM_INCLUDE_DIRS} ) SET(SOURCE_FILES diff --git a/src/main.hpp b/src/main.hpp index c34880b..0de8cc3 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -2,6 +2,16 @@ #include #include +// GLM is used as the mathematics library. It provides functions that are +// based on GLSL, and makes it really easy to generate projection and view +// matrices. + +#include + +#include + +#include + // GLAD is used as the loader for OpenGL functions. On operating systems such // as OS X, a loader is not necessarily needed. However, on most other // systems, a loader is required in order to use any OpenGL functions.