| 129 | #include "Engine/Debug/DebugDraw.h" |
| 130 | |
| 131 | void PointLight::OnDebugDraw() |
| 132 | { |
| 133 | if (SourceRadius > ZeroTolerance || SourceLength > ZeroTolerance) |
| 134 | { |
| 135 | // Draw source capsule |
| 136 | DEBUG_DRAW_WIRE_CAPSULE(GetPosition(), GetOrientation(), SourceRadius, SourceLength, Color::Orange, 0, true); |
| 137 | } |
| 138 | |
| 139 | // Base |
| 140 | LightWithShadow::OnDebugDraw(); |
| 141 | } |
| 142 | |
| 143 | void PointLight::OnDebugDrawSelected() |
| 144 | { |
nothing calls this directly
no test coverage detected