GLM is now a dependancy

This commit is contained in:
CobaltXII
2018-12-28 16:06:15 -05:00
parent b7dc9317ba
commit ad6d414618
2 changed files with 12 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ INCLUDE_DIRECTORIES(
${OPENGL_INCLUDE_DIRS}
${SDL2_INCLUDE_DIRS}
${GLM_INCLUDE_DIRS}
)
SET(SOURCE_FILES

View File

@@ -2,6 +2,16 @@
#include <chrono>
#include <thread>
// 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 <glm/vec3.hpp>
#include <glm/mat4x4.hpp>
#include <glm/gtc/matrix_transform.hpp>
// 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.