more function migrations
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -59,7 +59,7 @@ auto backtrack_solve(std::vector<uint64_t> *polycube_input, std::vector<int> *of
|
||||
auto end = offsets->at(set + 1);
|
||||
std::cout << start << " " << end << "\n";
|
||||
for (int i = start; i < end; i++) {
|
||||
auto successful_fuse = (working_solution | polycube_input->at(i)) == (working_solution ^ polycube_input->at(i));
|
||||
auto successful_fuse = !Voxel::collides(working_solution, polycube_input->at(i));
|
||||
if (successful_fuse) {
|
||||
working_solution = working_solution | polycube_input->at(i);
|
||||
if (set == offsets->size() - 2) {
|
||||
|
||||
Reference in New Issue
Block a user