diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2021-01-17 17:29:38 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2021-01-17 17:29:38 -0300 |
commit | 5698a5ac7303b128f13e9b656e8446d24a2c1f24 (patch) | |
tree | 82650ce03cea7178f028ab2d33e362501d649fd9 /src/poly.rs | |
parent | 7b2524be8efae04a80691743b06018a6b0fdbe3e (diff) | |
download | bezier-5698a5ac7303b128f13e9b656e8446d24a2c1f24.tar.gz bezier-5698a5ac7303b128f13e9b656e8446d24a2c1f24.zip |
Fix artifacts when curve crosses itself
Diffstat (limited to 'src/poly.rs')
-rw-r--r-- | src/poly.rs | 2 |
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 { |