diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2021-01-17 20:25:58 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2021-01-17 20:25:58 -0300 |
commit | 70b5188de306b70cdf8a397dd4e0ee31f07050c8 (patch) | |
tree | 3721070393126b79a3658fe8a89f1fa98a84db44 /src/lerp.rs | |
parent | 18efe0d28ebcd936ea50275a351ef1c30253ea1c (diff) | |
download | bezier-70b5188de306b70cdf8a397dd4e0ee31f07050c8.tar.gz bezier-70b5188de306b70cdf8a397dd4e0ee31f07050c8.zip |
Fix curve overextending past last control point
Diffstat (limited to 'src/lerp.rs')
-rw-r--r-- | src/lerp.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lerp.rs b/src/lerp.rs index 818c686..b613620 100644 --- a/src/lerp.rs +++ b/src/lerp.rs @@ -1,4 +1,6 @@ -use crate::poly::Poly; +pub mod poly; + +use poly::Poly; pub enum Lerp { Node(Box<Lerp>, Box<Lerp>), |