Change global to C header file.
This commit is contained in:
parent
6e25741cc9
commit
20ad76f86d
@ -21,7 +21,7 @@
|
||||
# distribution.
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(TrippyCube CXX)
|
||||
project(TrippyCube C CXX)
|
||||
|
||||
# Binary filename
|
||||
set(TARGET_NAME "trippy-cube")
|
||||
|
@ -34,6 +34,8 @@
|
||||
#define SCREEN_WIDTH 800
|
||||
#define SCREEN_HEIGHT 600
|
||||
|
||||
extern "C" {
|
||||
extern SDL_Window *window;
|
||||
extern GLuint program_id;
|
||||
extern GLuint matrix_id;
|
||||
}
|
@ -28,7 +28,7 @@
|
||||
#include <GL/glew.h>
|
||||
#include <GL/gl.h>
|
||||
|
||||
#include "globals.hpp"
|
||||
#include "globals.h"
|
||||
#include "shaders.hpp"
|
||||
#include "simulation.hpp"
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#include "globals.hpp"
|
||||
#include "globals.h"
|
||||
#include "input.hpp"
|
||||
#include "camera.hpp"
|
||||
#include "cube.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user