Skip to content
Snippets Groups Projects
Commit 67ee0f54 authored by Thomas Müller's avatar Thomas Müller
Browse files

GUI: make lines twice as thick (much easier to see)

parent be224c1c
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,7 @@ bool debug_project(const Matrix<float, 4, 4>& proj, Vector3f p, ImVec2& o) {
void add_debug_line(ImDrawList* list, const Matrix<float, 4, 4>& proj, Vector3f a, Vector3f b, uint32_t col, float thickness) {
ImVec2 aa, bb;
if (debug_project(proj, a, aa) && debug_project(proj, b, bb)) {
list->AddLine(aa, bb, col, thickness);
list->AddLine(aa, bb, col, thickness * 2.0f);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment