aboutsummaryrefslogtreecommitdiffstats
path: root/src/render.cpp
diff options
context:
space:
mode:
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 5da74c8..58674a1 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -143,8 +143,8 @@ void preRender(void)
else if (offset.x + SCREEN_WIDTH2 > worldWidth * 0.5f)
offset.x = ((worldWidth * 0.5f) - SCREEN_WIDTH2);
- // ortho y snapping
- offset.y = std::max(ploc.y /*+ player->height / 2*/, SCREEN_HEIGHT2);
+ // ortho y snapping (TODO center w/ height)
+ offset.y = std::max(ploc.y, SCREEN_HEIGHT2);
// "setup"
glm::mat4 projection = glm::ortho(floor(offset.x - SCREEN_WIDTH2), // left