-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.cpp
27 lines (19 loc) · 926 Bytes
/
globals.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
Author: Lucas Parzych
Globals
*/
float mouseX, mouseY;
float lastX, lastY;
GLuint programID, matrixID;
int window_width=800;
int window_height=600;
const char* fragment_shader = "fragment_shader.glsl";
const char* vertex_shader = "vertex_shader.glsl";
GLint vertex_attribute_loc = 0;
GLint color_attribute_loc = 1;
//Global VAO
GLuint VertexArrayID;
const char* texture_fragment_shader = "skybox_fragment_shader.glsl";
const char* texture_vertex_shader = "skybox_vertex_shader.glsl";
float octaves=8;
float persistence=0.5;