Minor conveniences
This commit is contained in:
parent
21d7e800c8
commit
eb05ae1950
|
@ -224,7 +224,7 @@ void Application::run()
|
||||||
|
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
Planet* pl = new Planet(glm::vec3(0.0f,0.0f,0.0f), 10);
|
Planet* pl = new Planet(glm::vec3(0.0f,0.0f,0.0f), 4);
|
||||||
// Create the shader and link them together
|
// Create the shader and link them together
|
||||||
Shader& chunkShader = Shader::createShader("data/shaders/chunk.vert", "data/shaders/chunk.frag");
|
Shader& chunkShader = Shader::createShader("data/shaders/chunk.vert", "data/shaders/chunk.frag");
|
||||||
chunkShader.linkShaders();
|
chunkShader.linkShaders();
|
||||||
|
|
|
@ -32,7 +32,7 @@ enum Camera_Movement {
|
||||||
const GLfloat YAW = -90.0f;
|
const GLfloat YAW = -90.0f;
|
||||||
const GLfloat PITCH = 0.0f;
|
const GLfloat PITCH = 0.0f;
|
||||||
const GLfloat ROLL = 0.0f;
|
const GLfloat ROLL = 0.0f;
|
||||||
const GLfloat SPEED = 3.0f;
|
const GLfloat SPEED = 100.0f;
|
||||||
const GLfloat SENSITIVTY = 0.25f;
|
const GLfloat SENSITIVTY = 0.25f;
|
||||||
const GLfloat ZOOM = 45.0f;
|
const GLfloat ZOOM = 45.0f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue