mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-19 16:19:07 -07:00
Fixed some clang warnings
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user