summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 15:48:01 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 15:48:01 +0100
commit811aa673e9e832ebe38bf56a087f32fdc7aba59c (patch)
tree179786a0be316d83264657071e33bf18d228535c /examples/custom_shader/src/main.rs
parentb1b2467b45e16185cc17df00b4c75700435cd46e (diff)
downloadiced-811aa673e9e832ebe38bf56a087f32fdc7aba59c.tar.gz
iced-811aa673e9e832ebe38bf56a087f32fdc7aba59c.tar.bz2
iced-811aa673e9e832ebe38bf56a087f32fdc7aba59c.zip
Improve module hierarchy of `custom_shader` example
Diffstat (limited to 'examples/custom_shader/src/main.rs')
-rw-r--r--examples/custom_shader/src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs
index f4853507..2eb1ac4a 100644
--- a/examples/custom_shader/src/main.rs
+++ b/examples/custom_shader/src/main.rs
@@ -1,11 +1,6 @@
-mod camera;
-mod pipeline;
-mod primitive;
mod scene;
-use crate::camera::Camera;
-use crate::pipeline::Pipeline;
-use crate::scene::Scene;
+use scene::Scene;
use iced::executor;
use iced::time::Instant;