Speed up rotation optimizer

- No float to double conversion
- Solving issue of random (very similar) results due to the parallel summation of floats
This commit is contained in:
tamasmeszaros
2021-03-04 18:15:13 +01:00
parent 7760d3fbc4
commit de8bb00fa9
2 changed files with 45 additions and 42 deletions

View File

@@ -35,7 +35,7 @@ Vec2d find_best_rotation(
);
double get_model_supportedness(const SLAPrintObject &mesh,
const Transform3d & tr);
const Transform3f & tr);
} // namespace sla
} // namespace Slic3r