X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fworld.cpp;h=528bc40c1b242358cd6026d81969e8c53ab62463;hb=cdcfdb33e9b625976909a9fb604b756a1a057788;hp=033967ad970ffecd32c098f226c1942b8b97dabd;hpb=cdd865c1934eccbb1f1d0ffaf041e53f0fdd524b;p=blank.git diff --git a/src/world/world.cpp b/src/world/world.cpp index 033967a..528bc40 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -1123,7 +1123,7 @@ void World::RenderDebug(Viewport &viewport) { PrimitiveMesh debug_mesh; PlainColor &prog = viewport.WorldColorProgram(); for (const Entity &entity : entities) { - debug_buf.OutlineBox(entity.Bounds(), TVEC4(255, 0, 0, 255)); + debug_buf.OutlineBox(entity.Bounds(), PrimitiveMesh::Color(255, 0, 0, 255)); debug_mesh.Update(debug_buf); prog.SetM(entity.Transform(players.front().GetEntity().ChunkCoords())); debug_mesh.DrawLines();