Refactor imports of triangle modules in iced_glow and iced_wgpu
This commit is contained in:
parent
68cddd6468
commit
f31c8f2504
2 changed files with 14 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue