diff options
Diffstat (limited to 'src/dimension_indicator.rs')
| -rw-r--r-- | src/dimension_indicator.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dimension_indicator.rs b/src/dimension_indicator.rs index 0ea96d3..2eb3eee 100644 --- a/src/dimension_indicator.rs +++ b/src/dimension_indicator.rs @@ -24,6 +24,10 @@ impl DimensionIndicator { this } + pub fn clear_dimensions(&mut self) { + self.length_lines.clear(); + } + /// Update the dimensions by analysing a given set of points and adjusting the internal /// (measured) dimensions. pub fn update_dimensions(&mut self, corner_points: &[Vec2<f32>]) { |
