Refactor imports of triangle modules in iced_glow and iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2022-11-03 06:05:23 +01:00
parent 68cddd6468
commit f31c8f2504
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 14 additions and 15 deletions

View file

@ -1,19 +1,19 @@
//! Draw meshes of triangles.
use crate::{settings, Transformation};
use core::fmt;
use std::fmt::Formatter;
use iced_graphics::layer::mesh::{self, Mesh};
use iced_graphics::triangle;
use iced_graphics::Size;
use crate::buffer::r#static::Buffer;
pub use iced_graphics::triangle::{Mesh2D, Vertex2D};
mod gradient;
mod msaa;
mod solid;
use crate::buffer::r#static::Buffer;
use crate::settings;
use crate::Transformation;
use iced_graphics::layer::mesh::{self, Mesh};
use iced_graphics::triangle::{self, Vertex2D};
use iced_graphics::Size;
use core::fmt;
use std::fmt::Formatter;
/// Triangle pipeline for all mesh layers in a [`iced_graphics::Canvas`] widget.
#[derive(Debug)]
pub(crate) struct Pipeline {