From: Daniel Karbach Date: Sun, 8 Mar 2015 11:07:55 +0000 (+0100) Subject: move HUD block to a better position X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=4422bc40677f5a8e476fc89ada56b33c50f25bd8;p=blank.git move HUD block to a better position --- diff --git a/src/hud.cpp b/src/hud.cpp index 7f127f4..ed5767d 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -18,7 +18,7 @@ HUD::HUD() , far(-100.0f) , projection(glm::ortho(0.0f, 1.0f, 1.0f, 0.0f, near, far)) , view(glm::translate(glm::mat4(1.0f), glm::vec3(-0.5f, -0.5f, 0))) { - block_transform = glm::translate(block_transform, glm::vec3(35.0f, 80.0f, 0.0f)); + block_transform = glm::translate(block_transform, glm::vec3(50.0f, 50.0f, 0.0f)); block_transform = glm::scale(block_transform, glm::vec3(50.0f)); block_transform = glm::rotate(block_transform, 3.5f, glm::vec3(1.0f, 0.0f, 0.0f)); block_transform = glm::rotate(block_transform, 0.85f, glm::vec3(0.0f, 1.0f, 0.0f));