ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Code cleanup

This commit is contained in:
Enrico Turri 2019-11-18 10:25:23 +01:00
parent 68a9980a5e
commit 28dedd65f0
6 changed files with 3 additions and 28 deletions

View file

@ -147,10 +147,10 @@ extern std::vector<double> layer_height_profile_adaptive(
const SlicingParameters& slicing_params,
const ModelObject& object, float cusp_value);
#if ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE_SMOOTHING
extern std::vector<double> smooth_height_profile(const std::vector<double>& profile, const SlicingParameters& slicing_params,
extern std::vector<double> smooth_height_profile(
const std::vector<double>& profile,
const SlicingParameters& slicing_params,
unsigned int radius);
#endif // ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE_SMOOTHING
#else
extern std::vector<coordf_t> layer_height_profile_adaptive(
const SlicingParameters &slicing_params,