summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/primitive/cube.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 14:04:54 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 14:04:54 +0100
commit63f36b04638f14af3455ead8b82d581a438a28a3 (patch)
tree493381fbc949cb69ddc45102674ec5c4635b5e01 /examples/custom_shader/src/primitive/cube.rs
parent91d7df52cdedd1b5c431fdb51a6356e827765b60 (diff)
downloadiced-63f36b04638f14af3455ead8b82d581a438a28a3.tar.gz
iced-63f36b04638f14af3455ead8b82d581a438a28a3.tar.bz2
iced-63f36b04638f14af3455ead8b82d581a438a28a3.zip
Export `wgpu` crate in `shader` module in `iced_widget`
Diffstat (limited to 'examples/custom_shader/src/primitive/cube.rs')
-rw-r--r--examples/custom_shader/src/primitive/cube.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/custom_shader/src/primitive/cube.rs b/examples/custom_shader/src/primitive/cube.rs
index c23f2132..7ece685d 100644
--- a/examples/custom_shader/src/primitive/cube.rs
+++ b/examples/custom_shader/src/primitive/cube.rs
@@ -1,4 +1,6 @@
use crate::primitive::Vertex;
+use crate::wgpu;
+
use glam::{vec2, vec3, Vec3};
use rand::{thread_rng, Rng};