Move rotation from building octree to infill generating

This commit is contained in:
Lukáš Hejl 2020-09-08 11:40:09 +02:00
parent ea9a8b7e93
commit 70cb67430c
3 changed files with 23 additions and 15 deletions

View file

@ -63,6 +63,7 @@ protected:
FillAdaptive_Internal::Cube *cube,
double z_position,
const Vec3d & origin,
const Transform3d & rotation_matrix,
std::vector<Lines> & dir_lines_out,
const std::vector<FillAdaptive_Internal::CubeProperties> &cubes_properties,
int depth);
@ -78,7 +79,6 @@ public:
static void expand_cube(
FillAdaptive_Internal::Cube *cube,
const std::vector<FillAdaptive_Internal::CubeProperties> &cubes_properties,
const Transform3d & rotation_matrix,
const AABBTreeIndirect::Tree3f &distance_tree,
const TriangleMesh & triangle_mesh,
int depth);