summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/tests/raycast-test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/tests/raycast-test.cpp b/editor/tests/raycast-test.cpp
index 1dcf1262..5bc2bf93 100644
--- a/editor/tests/raycast-test.cpp
+++ b/editor/tests/raycast-test.cpp
@@ -260,6 +260,13 @@ struct raycast_test : base_test
draw.AddCircleFilled({p.x(), p.y()}, 10, color3);
draw.AddCircleFilled({p.x(), p.y()}, 7, color);
}
+ else
+ {
+ auto color4 = ImGui::ColorConvertFloat4ToU32({0, 1, 0, 1});
+ auto p = a.point_screen_pos(result.to);
+ draw.AddCircleFilled({p.x(), p.y()}, 10, color3);
+ draw.AddCircleFilled({p.x(), p.y()}, 7, color4);
+ }
}
void draw_ui(app&, float) override