Implement the Spline Tool (#512)

* Add Spline Tool

* Adapt to changes from master

* Apply review feedback

* Fixes

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Paul Kupper
2022-02-10 01:22:57 +01:00
committed by Keavon Chambers
co-authored by Keavon Chambers
parent 45edeb2a2b
commit f8e72be492
17 changed files with 409 additions and 29 deletions
+2
View File
@@ -19,6 +19,8 @@ pub const SNAP_TOLERANCE: f64 = 3.;
pub const SNAP_OVERLAY_FADE_DISTANCE: f64 = 20.;
pub const SNAP_OVERLAY_UNSNAPPED_OPACITY: f64 = 0.4;
pub const DRAG_THRESHOLD: f64 = 1.;
// Transforming layer
pub const ROTATE_SNAP_ANGLE: f64 = 15.;
pub const SCALE_SNAP_INTERVAL: f64 = 0.1;