summaryrefslogtreecommitdiff
path: root/src/lerp.rs
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2021-01-17 20:25:58 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2021-01-17 20:25:58 -0300
commit70b5188de306b70cdf8a397dd4e0ee31f07050c8 (patch)
tree3721070393126b79a3658fe8a89f1fa98a84db44 /src/lerp.rs
parent18efe0d28ebcd936ea50275a351ef1c30253ea1c (diff)
downloadbezier-70b5188de306b70cdf8a397dd4e0ee31f07050c8.tar.gz
bezier-70b5188de306b70cdf8a397dd4e0ee31f07050c8.zip
Fix curve overextending past last control point
Diffstat (limited to 'src/lerp.rs')
-rw-r--r--src/lerp.rs4
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>),