X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fworld.cpp;h=bf68a9eca412f295c977e486c465e0794025366a;hb=2ad195d00eea2c4d48f3f1a3ccc60a8176e7da20;hp=243fb8a81b439655193b21615a84eddc7b70c389;hpb=5a5b12ae26b832dd8493be2d30f97d14aee2268c;p=blank.git diff --git a/src/world/world.cpp b/src/world/world.cpp index 243fb8a..bf68a9e 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -1072,7 +1072,7 @@ void World::RenderDebug(Viewport &viewport) { PrimitiveMesh debug_mesh; PlainColor &prog = viewport.WorldColorProgram(); for (const Entity &entity : entities) { - debug_buf.OutlineBox(entity.Bounds(), glm::vec4(1.0f, 0.0f, 0.0f, 1.0f)); + debug_buf.OutlineBox(entity.Bounds(), glm::tvec4(255, 0, 0, 255)); debug_mesh.Update(debug_buf); prog.SetM(entity.Transform(players.front().GetEntity().ChunkCoords())); debug_mesh.DrawLines();