Pentomino tiling: Difference between revisions
Content added Content deleted
(New post.) |
m (Reformatted line overflowing page width.) |
||
Line 626: | Line 626: | ||
} |
} |
||
bool place_orientation(const std::vector<int32_t>& orientation, |
bool place_orientation(const std::vector<int32_t>& orientation, |
||
const int32_t& row, const int32_t& col, const int32_t& shape_index) { |
|||
for ( uint64_t i = 0; i < orientation.size(); i += 2 ) { |
for ( uint64_t i = 0; i < orientation.size(); i += 2 ) { |
||
int32_t x = col + orientation[i + 1]; |
int32_t x = col + orientation[i + 1]; |