mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -06:00
Fixed some clang warnings
This commit is contained in:
parent
770d8b5d08
commit
5e9a8ea700
17 changed files with 45 additions and 30 deletions
|
@ -445,6 +445,7 @@ Points resample_polygon(const Points &contour, double dist, std::vector<Resample
|
|||
return out;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static inline void smooth_compensation(std::vector<float> &compensation, float strength, size_t num_iterations)
|
||||
{
|
||||
std::vector<float> out(compensation);
|
||||
|
@ -459,6 +460,7 @@ static inline void smooth_compensation(std::vector<float> &compensation, float s
|
|||
out.swap(compensation);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void smooth_compensation_banded(const Points &contour, float band, std::vector<float> &compensation, float strength, size_t num_iterations)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue