Pentomino tiling: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(New post.) |
m (→{{header|Wren}}: Minor tidy) |
||
(One intermediate revision by one other user not shown) | |||
Line 626:
}
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 ) {
int32_t x = col + orientation[i + 1];
Line 2,185 ⟶ 2,186:
{{trans|Kotlin}}
{{libheader|Wren-iterate}}
<syntaxhighlight lang="
import "./iterate" for Stepped
var F = [
|