summaryrefslogtreecommitdiff
path: root/src/poly.rs
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2021-01-17 17:29:38 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2021-01-17 17:29:38 -0300
commit5698a5ac7303b128f13e9b656e8446d24a2c1f24 (patch)
tree82650ce03cea7178f028ab2d33e362501d649fd9 /src/poly.rs
parent7b2524be8efae04a80691743b06018a6b0fdbe3e (diff)
downloadbezier-5698a5ac7303b128f13e9b656e8446d24a2c1f24.tar.gz
bezier-5698a5ac7303b128f13e9b656e8446d24a2c1f24.zip
Fix artifacts when curve crosses itself
Diffstat (limited to 'src/poly.rs')
-rw-r--r--src/poly.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poly.rs b/src/poly.rs
index 9c70048..34df7a0 100644
--- a/src/poly.rs
+++ b/src/poly.rs
@@ -2,8 +2,8 @@ mod iter;
use crate::number::Number;
use iter::Iter;
-use std::ops::{Add, Div, Mul, Sub};
use std::fmt;
+use std::ops::{Add, Div, Mul, Sub};
#[derive(PartialEq, Debug, Clone)]
pub struct Poly {