Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton authored and github-actions[bot] committed Nov 2, 2023
1 parent 1d88e6c commit 80433d9
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 35 deletions.
20 changes: 10 additions & 10 deletions include/PathOrderOptimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@
#ifndef PATHORDEROPTIMIZER_H
#define PATHORDEROPTIMIZER_H

#include "InsetOrderOptimizer.h" // for makeOrderIncludeTransitive
#include "PathOrdering.h"
#include "pathPlanning/CombPath.h" //To calculate the combing distance if we want to use combing.
#include "pathPlanning/LinePolygonsCrossings.h" //To prevent calculating combing distances if we don't cross the combing borders.
#include "settings/EnumSettings.h" //To get the seam settings.
#include "settings/ZSeamConfig.h" //To read the seam configuration.
#include "utils/linearAlg2D.h" //To find the angle of corners to hide seams.
#include "utils/polygonUtils.h"
#include "utils/views/dfs.h"
#include <unordered_set>

#include <range/v3/algorithm/partition_copy.hpp>
#include <range/v3/iterator/insert_iterators.hpp>
Expand All @@ -23,7 +15,15 @@
#include <range/v3/view/reverse.hpp>
#include <spdlog/spdlog.h>

#include <unordered_set>
#include "InsetOrderOptimizer.h" // for makeOrderIncludeTransitive
#include "PathOrdering.h"
#include "pathPlanning/CombPath.h" //To calculate the combing distance if we want to use combing.
#include "pathPlanning/LinePolygonsCrossings.h" //To prevent calculating combing distances if we don't cross the combing borders.
#include "settings/EnumSettings.h" //To get the seam settings.
#include "settings/ZSeamConfig.h" //To read the seam configuration.
#include "utils/linearAlg2D.h" //To find the angle of corners to hide seams.
#include "utils/polygonUtils.h"
#include "utils/views/dfs.h"

namespace cura
{
Expand Down
8 changes: 4 additions & 4 deletions include/infill.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#ifndef INFILL_H
#define INFILL_H

#include <numbers>

#include <range/v3/range/concepts.hpp>

#include "infill/LightningGenerator.h"
#include "infill/ZigzagConnectorProcessor.h"
#include "settings/EnumSettings.h" //For infill types.
Expand All @@ -14,10 +18,6 @@
#include "utils/IntPoint.h"
#include "utils/section_type.h"

#include <range/v3/range/concepts.hpp>

#include <numbers>

namespace cura
{

Expand Down
6 changes: 3 additions & 3 deletions src/SkeletalTrapezoidationGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

#include "SkeletalTrapezoidationGraph.h"

#include "utils/linearAlg2D.h"
#include "utils/macros.h"
#include <unordered_map>

#include <spdlog/spdlog.h>

#include <unordered_map>
#include "utils/linearAlg2D.h"
#include "utils/macros.h"

namespace cura
{
Expand Down
14 changes: 7 additions & 7 deletions src/gcodeExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

#include "gcodeExport.h"

#include <assert.h>
#include <cmath>
#include <iomanip>
#include <stdarg.h>

#include <spdlog/spdlog.h>

#include "Application.h" //To send layer view data.
#include "ExtruderTrain.h"
#include "PrintFeature.h"
Expand All @@ -14,13 +21,6 @@
#include "utils/Date.h"
#include "utils/string.h" // MMtoStream, PrecisionedDouble

#include <spdlog/spdlog.h>

#include <assert.h>
#include <cmath>
#include <iomanip>
#include <stdarg.h>

namespace cura
{

Expand Down
14 changes: 7 additions & 7 deletions src/infill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

#include "infill.h"

#include <algorithm> //For std::sort.
#include <functional>
#include <unordered_set>

#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include "WallToolPaths.h"
#include "infill/GyroidInfill.h"
#include "infill/ImageBasedDensityProvider.h"
Expand All @@ -21,13 +28,6 @@
#include "utils/linearAlg2D.h"
#include "utils/polygonUtils.h"

#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include <algorithm> //For std::sort.
#include <functional>
#include <unordered_set>

/*!
* Function which returns the scanline_idx for a given x coordinate
*
Expand Down
4 changes: 2 additions & 2 deletions src/settings/MeshPathConfigs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include "settings/MeshPathConfigs.h"

#include <range/v3/view/iota.hpp>

#include "ExtruderTrain.h"
#include "PrintFeature.h"

#include <range/v3/view/iota.hpp>

namespace cura
{

Expand Down
4 changes: 2 additions & 2 deletions src/skin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#include "skin.h"

#include <cmath> // std::ceil

#include "Application.h" //To get settings.
#include "ExtruderTrain.h"
#include "Slice.h"
Expand All @@ -15,8 +17,6 @@
#include "utils/math.h"
#include "utils/polygonUtils.h"

#include <cmath> // std::ceil

#define MIN_AREA_SIZE (0.4 * 0.4)

namespace cura
Expand Down

0 comments on commit 80433d9

Please sign in to comment.