]> git.localhorst.tv Git - blank.git/commitdiff
move HUD block to a better position
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 8 Mar 2015 11:07:55 +0000 (12:07 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 8 Mar 2015 11:07:55 +0000 (12:07 +0100)
src/hud.cpp

index 7f127f4cb64bb1d90a31061d0b1f2700077aebd0..ed5767dfeac9216f995c28351755ca94397dce5a 100644 (file)
@@ -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));