From ad6d41461878ca8d43162281631e8fe60bed9733 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 16:06:15 -0500 Subject: [PATCH] GLM is now a dependancy --- CMakeLists.txt | 2 ++ src/main.hpp | 10 ++++++++++ 2 files changed, 12 insertions(+) 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.