| 26 | #include "Engine/Debug/DebugDraw.h" |
| 27 | |
| 28 | void NavLink::OnDebugDrawSelected() |
| 29 | { |
| 30 | const auto start = _transform.LocalToWorld(Start); |
| 31 | const auto end = _transform.LocalToWorld(End); |
| 32 | DEBUG_DRAW_WIRE_SPHERE(BoundingSphere(start, 10.0f), Color::BlueViolet, 0, true); |
| 33 | DEBUG_DRAW_WIRE_SPHERE(BoundingSphere(end, 10.0f), Color::BlueViolet, 0, true); |
| 34 | DEBUG_DRAW_LINE(start, end, Color::BlueViolet, 0, true); |
| 35 | |
| 36 | // Base |
| 37 | Actor::OnDebugDrawSelected(); |
| 38 | } |
| 39 | |
| 40 | #endif |
| 41 |
nothing calls this directly
no test coverage detected