Significant performance improvements for elevated and non-elevated case

Apply bruteforce for elevated models
This commit is contained in:
tamasmeszaros 2020-09-10 19:35:26 +02:00
parent d527122046
commit 20bd7b99f9
4 changed files with 89 additions and 60 deletions

View file

@ -27,7 +27,7 @@ namespace sla {
*
* @return Returns the rotations around each axis (x, y, z)
*/
std::array<double, 2> find_best_rotation(
Vec2d find_best_rotation(
const SLAPrintObject& modelobj,
float accuracy = 1.0f,
std::function<void(unsigned)> statuscb = [] (unsigned) {},