| 163 | */ |
| 164 | template <class TParamWidget> |
| 165 | TParamWidget* createLightParam(math::Vec pos, engine::Module* module, int paramId, int firstLightId) { |
| 166 | TParamWidget* o = createParam<TParamWidget>(pos, module, paramId); |
| 167 | o->getLight()->module = module; |
| 168 | o->getLight()->firstLightId = firstLightId; |
| 169 | return o; |
| 170 | } |
| 171 | |
| 172 | |
| 173 | template <class TParamWidget> |