| 320 | } |
| 321 | |
| 322 | void ItemDrop::renderLightSources(RenderCallback* renderCallback) { |
| 323 | LightSource light; |
| 324 | light.type = LightType::Spread; |
| 325 | light.color = Vec3F::filled(20.f / 255.f); |
| 326 | light.position = position(); |
| 327 | renderCallback->addLightSource(std::move(light)); |
| 328 | } |
| 329 | |
| 330 | |
| 331 | ItemPtr ItemDrop::item() const { |
nothing calls this directly
no test coverage detected