| 142 | |
| 143 | template <class TModuleLightWidget> |
| 144 | TModuleLightWidget* createLight(math::Vec pos, engine::Module* module, int firstLightId) { |
| 145 | TModuleLightWidget* o = new TModuleLightWidget; |
| 146 | o->box.pos = pos; |
| 147 | o->app::ModuleLightWidget::module = module; |
| 148 | o->app::ModuleLightWidget::firstLightId = firstLightId; |
| 149 | return o; |
| 150 | } |
| 151 | |
| 152 | |
| 153 | template <class TModuleLightWidget> |
nothing calls this directly
no outgoing calls
no test coverage detected