| 49 | |
| 50 | template<typename Matrix_> |
| 51 | bool draw(Matrix_& matrix_) const { |
| 52 | for ( ::dtl::type::size z{ this->start_z }, max_z{ this->getLoopMaxValue(this->start_z , this->size_z , matrix_.size()) }; z < max_z; ++z) |
| 53 | for ( ::dtl::type::size y{ this->start_y }, max_y{ this->getLoopMaxValue(this->start_y , this->size_y , matrix_[z].size()) }; y < max_y; ++y) |
| 54 | for ( ::dtl::type::size x{ this->start_x }, max_x{ this->getLoopMaxValue(this->start_x , this->size_x , matrix_[z][y].size()) }; x < max_x; ++x) |
| 55 | matrix_[z][y][x] = this->draw_value; |
| 56 | return true; |
| 57 | } |
| 58 | template<typename Matrix_> |
| 59 | bool draw(Matrix_& matrix_, const ::dtl::type::size size_x_, const ::dtl::type::size size_y_, const ::dtl::type::size size_z_) const { |
| 60 | const ::dtl::type::size max_x{ this->getLoopMaxValue(this->start_x , this->size_x , size_x_) }; |
nothing calls this directly
no test coverage detected