From: drumsetmonkey Date: Wed, 18 May 2016 12:17:59 +0000 (-0400) Subject: Z INDEXING X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=72941038ae15ed524e2a878d087d98bc97e946b4;p=clyne%2Fgamedev.git Z INDEXING --- 72941038ae15ed524e2a878d087d98bc97e946b4 diff --cc brice.dat index ea71945,c7447b6..61d57c2 --- a/brice.dat +++ b/brice.dat @@@ -1,5 -1,5 +1,5 @@@ 2 - canSprint - 0 canJump 0 + canSprint -1 ++0 diff --cc src/ui_menu.cpp index 25782be,309d16a..5faf8a2 --- a/src/ui_menu.cpp +++ b/src/ui_menu.cpp @@@ -154,7 -153,8 +154,8 @@@ namespace ui glUseProgram(textShader); glBindTexture(GL_TEXTURE_2D, backTex); - drawRect(vec2(offset.x - SCREEN_WIDTH / 2, offset.y - (SCREEN_HEIGHT / 2)), vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2)), -8.5); + drawRect(vec2(offset.x - SCREEN_WIDTH / 2 - 1, offset.y - (SCREEN_HEIGHT / 2)), - vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2))); ++ vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2)), -8.5); glUseProgram(0);