| 150 | } |
| 151 | |
| 152 | void PointLight::DrawLightsDebug(RenderView& view) |
| 153 | { |
| 154 | const BoundingSphere sphere(_sphere.Center - view.Origin, _sphere.Radius); |
| 155 | if (!view.CullingFrustum.Intersects(sphere) || !EnumHasAnyFlags(view.Flags, ViewFlags::PointLights)) |
| 156 | return; |
| 157 | |
| 158 | // Draw influence range |
| 159 | DEBUG_DRAW_WIRE_SPHERE(_sphere, Color::Yellow, 0, true); |
| 160 | } |
| 161 | |
| 162 | #endif |
| 163 |
nothing calls this directly
no test coverage detected