| 718 | } |
| 719 | |
| 720 | void step() override { |
| 721 | TBase::step(); |
| 722 | // Move center of light to center of handle |
| 723 | light->box.pos = this->handle->box.pos |
| 724 | .plus(this->handle->box.size.div(2)) |
| 725 | .minus(light->box.size.div(2)); |
| 726 | } |
| 727 | }; |
| 728 | |
| 729 | template <typename TBase> |