WIP TreeSupports: Little optimization - don't use std::function,
don't make unnecessary copies of Polygons
This commit is contained in:
parent
fd0c84319e
commit
b0af552455
2 changed files with 24 additions and 21 deletions
|
@ -403,7 +403,8 @@ public:
|
|||
|
||||
xy_distance = std::max(xy_distance, xy_min_distance);
|
||||
|
||||
std::function<void(std::vector<AngleRadians>&, SupportMaterialInterfacePattern)> getInterfaceAngles = [&](std::vector<AngleRadians>& angles, SupportMaterialInterfacePattern pattern) { // (logic) from getInterfaceAngles in FFFGcodeWriter.
|
||||
// (logic) from getInterfaceAngles in FFFGcodeWriter.
|
||||
auto getInterfaceAngles = [&](std::vector<AngleRadians>& angles, SupportMaterialInterfacePattern pattern) {
|
||||
if (angles.empty())
|
||||
{
|
||||
if (pattern == SupportMaterialInterfacePattern::smipConcentric)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue