| 183 | #include "Engine/Debug/DebugDraw.h" |
| 184 | |
| 185 | void SpotLight::OnDebugDraw() |
| 186 | { |
| 187 | if (SourceRadius > ZeroTolerance) |
| 188 | { |
| 189 | // Draw source tube |
| 190 | DEBUG_DRAW_WIRE_SPHERE(BoundingSphere(GetPosition(), SourceRadius), Color::Orange, 0, true); |
| 191 | } |
| 192 | |
| 193 | // Base |
| 194 | LightWithShadow::OnDebugDraw(); |
| 195 | } |
| 196 | |
| 197 | void SpotLight::OnDebugDrawSelected() |
| 198 | { |
nothing calls this directly
no test coverage detected