mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
Gyroid infill - minor correction for standard-conforming compilers
This commit is contained in:
parent
d59bb027eb
commit
d17229efd5
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ protected:
|
|||
// create the gyroid grid to clip.
|
||||
Polylines makeGrid(coord_t gridZ, double density, double layer_width, size_t gridWidth, size_t gridHeight, size_t curveType);
|
||||
//add line poly in reverse if needed into array
|
||||
inline void correctOrderAndAdd(const int num, Polyline &poly, Polylines &array);
|
||||
inline void correctOrderAndAdd(const int num, Polyline poly, Polylines &array);
|
||||
//create a curved horinzontal line (for each x, compute y)
|
||||
Polyline makeLineHori(double xPos, double yPos, double width, double height,
|
||||
double currentYBegin, double segmentSize, coord_t scaleFactor,
|
||||
|
@ -52,4 +52,4 @@ protected:
|
|||
|
||||
} // namespace Slic3r
|
||||
|
||||
#endif // slic3r_FillGyroid_hpp_
|
||||
#endif // slic3r_FillGyroid_hpp_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue