Open SneakyPeaky opened 3 years ago
Hi, I have the same issue. I get no rotations or translations either when trying to get the output (always zero)...
// Retrieve resulting geometries
for (Item& r : input) {
auto polygon = r.transformedShape();
auto rotation=r.rotation();
auto translation=r.translation();
}
thanks.
Ok figured out what was happening in my instance, had to define a threading type via a preprocessor definition, i used: LIBNEST2D_THREADING_std fixed the issue. Cheers.
I tried running the sample code from the main page but it did not move any polygons and moved all of them in separate bins. Can you advice?