]> git.localhorst.tv Git - blank.git/commitdiff
grow outline a bit to have it more visible
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 8 Mar 2015 10:50:54 +0000 (11:50 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 8 Mar 2015 10:50:54 +0000 (11:50 +0100)
src/app.cpp

index 798355d61e9f6eb054ac640c4cb52af4b57767d9..8c0793dfc123b4ab0f14bafd806aafc8c118f09e 100644 (file)
@@ -168,6 +168,7 @@ void Application::Update(int dt) {
                outline.Clear();
                chunk->BlockAt(blkid).type->FillOutlineModel(outline);
                outline_transform = glm::translate(chunk->Transform(), pos);
+               outline_transform = glm::scale(outline_transform, glm::vec3(1.0001f));
        } else {
                outline_visible = false;
        }