Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-10-24 20:02:25 +0300
committerFormerLurker <hochgebe@gmail.com>2020-10-24 20:02:25 +0300
commitb223bc9fea6bad9c0c4d0e86662f5c4c0de513c2 (patch)
tree6a864a02a93df50c388caf5bd8dc7db76fddc602 /ArcWelder/segmented_shape.h
parentb707bb51b5171c72cc6e24ff6b32115ca1febeae (diff)
Move segmented_shape default params to .h. Fix compiler warnings.
Diffstat (limited to 'ArcWelder/segmented_shape.h')
-rw-r--r--ArcWelder/segmented_shape.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArcWelder/segmented_shape.h b/ArcWelder/segmented_shape.h
index 957ceab..09d3d86 100644
--- a/ArcWelder/segmented_shape.h
+++ b/ArcWelder/segmented_shape.h
@@ -175,7 +175,7 @@ class segmented_shape
{
public:
- segmented_shape(int min_segments, int max_segments, double resolution_mm);
+ segmented_shape(int min_segments = DEFAULT_MIN_SEGMENTS, int max_segments = DEFAULT_MAX_SEGMENTS, double resolution_mm = DEFAULT_RESOLUTION_MM);
segmented_shape& operator=(const segmented_shape& pos);
virtual ~segmented_shape();
int get_num_segments();