Skip to content

Commit

Permalink
example(simple): Combine imports from same modules. (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Mar 4, 2024
1 parent ae69fef commit 246c42d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/simple/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
use anyhow::Result;
use std::num::NonZeroUsize;
use std::sync::Arc;
use vello::kurbo::{Circle, Ellipse, Line, RoundedRect, Stroke};
use vello::kurbo::{Affine, Circle, Ellipse, Line, RoundedRect, Stroke};
use vello::peniko::Color;
use vello::util::RenderSurface;
use vello::RendererOptions;
use vello::{kurbo::Affine, util::RenderContext, AaConfig, Renderer, Scene};
use winit::{dpi::LogicalSize, window::WindowBuilder};
use winit::{event::*, event_loop::ControlFlow};
use winit::{event_loop::EventLoop, window::Window};
use vello::util::{RenderContext, RenderSurface};
use vello::{AaConfig, Renderer, RendererOptions, Scene};
use winit::{
dpi::LogicalSize,
event::*,
event_loop::{ControlFlow, EventLoop},
window::{Window, WindowBuilder},
};

// Simple struct to hold the state of the renderer
pub struct ActiveRenderState<'s> {
Expand Down

0 comments on commit 246c42d

Please sign in to comment.