fast image operations
Diffstat (limited to 'src/drawing/poly.rs')
-rw-r--r--src/drawing/poly.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drawing/poly.rs b/src/drawing/poly.rs
index 31632f3..2ef27ed 100644
--- a/src/drawing/poly.rs
+++ b/src/drawing/poly.rs
@@ -1,11 +1,11 @@
//! draw polygons
-use crate::math::{madd, FExt};
+use crate::Image;
+use crate::math::{FExt, madd};
+use array_chunks::*;
use std::cmp::{max, min};
use std::f32::consts::TAU;
use vecto::Vec2;
-use crate::Image;
-
impl<T: AsMut<[u8]> + AsRef<[u8]>, const CHANNELS: usize> Image<T, CHANNELS> {
/// Draws a filled polygon from a slice of points. Please close your poly. (first == last)
///