aboutsummaryrefslogtreecommitdiffstats
path: root/src/render.cpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-15 03:18:26 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-15 03:18:26 -0400
commitbce8d0687f44def4b0171cd84bf1441fc4390e58 (patch)
tree0449aacaa3b6847aa65cbed6cf9b3ae417e76bed /src/render.cpp
parentb19978a1100bf86086901e1410f2e7ad1358278b (diff)
Added event subsection of code
Diffstat (limited to 'src/render.cpp')
-rw-r--r--src/render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.cpp b/src/render.cpp
index 5efccce..0c60b00 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -69,7 +69,7 @@ void RenderSystem::update([[maybe_unused]] entityx::EntityManager& entities,
);
glm::mat4 model = glm::mat4(1.0f);
- model = glm::scale(model, glm::vec3(8.0f));
+ model = glm::scale(model, glm::vec3(20.0f, 20.0f, 1.0f));
glUseProgram(s);
@@ -282,7 +282,7 @@ int RenderSystem::init(void)
//glClearColor(0.6, 0.8, 1.0, 0.0);
- camPos = glm::vec3(0.0f, 0.0f, 0.5f);
+ camPos = glm::vec3(0.0f, 0.0f, 5.0f);
glGenBuffers(1, &world_vbo);
return 0;