Browse Source

Fix includes

DricomDragon 4 years ago
parent
commit
08cea9106d

+ 1 - 0
cubeWorld/CamControl/Camera.h

@@ -8,6 +8,7 @@
 
 // Includes GLM
 #include <glm/glm.hpp>
+#define GLM_ENABLE_EXPERIMENTAL
 #include <glm/gtx/transform.hpp>
 #include <glm/gtc/type_ptr.hpp>
 

+ 2 - 1
cubeWorld/Cubes/Cube.h

@@ -13,11 +13,12 @@
 // Include UNIX/Linux
 #else
 #define GL3_PROTOTYPES 1
-#include <GL3/gl3.h>
+#include <GL/gl.h>
 #endif
 
 // Includes GLM
 #include <glm/glm.hpp>
+#define GLM_ENABLE_EXPERIMENTAL
 #include <glm/gtx/transform.hpp>
 #include <glm/gtc/type_ptr.hpp>
 

+ 1 - 1
cubeWorld/Cubes/Texture.h

@@ -6,7 +6,7 @@
 #include <GL/glew.h>
 #else
 #define GL3_PROTOTYPES 1
-#include <GL3/gl3.h>
+#include <GL/gl.h>
 #endif
 
 #include <SDL2/SDL.h>

+ 2 - 1
cubeWorld/SceneOpenGL.h

@@ -3,13 +3,14 @@
 
 // Includes GLM
 #include <glm/glm.hpp>
+#define GLM_ENABLE_EXPERIMENTAL
 #include <glm/gtx/transform.hpp>
 #include <glm/gtc/type_ptr.hpp>
 
 // Includes OpenGL
 #include <SDL2/SDL.h>
 #define GL3_PROTOTYPES 1
-#include <GL3/gl3.h>
+#include <GL/gl.h>
 
 //Includes de base
 #include <string>

+ 1 - 1
cubeWorld/Shader.h

@@ -13,7 +13,7 @@
 // Include UNIX/Linux
 #else
 #define GL3_PROTOTYPES 1
-#include <GL3/gl3.h>
+#include <GL/gl.h>
 #endif
 
 // Includes communs