| 63 | } |
| 64 | |
| 65 | bool DynamicLightObject::Initialize() { |
| 66 | LOG_ASSERT(light_id_ == -1); |
| 67 | light_id_ = scenegraph_->dynamic_light_collection.AddLight(GetTranslation(), color * (1.0f + overbright * 0.3f), RadiusFromScale(scale_)); |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | void DynamicLightObject::Moved(Object::MoveType type) { |
| 72 | Object::Moved(type); |
nothing calls this directly
no test coverage detected