From 0613360e14f01b77f769f99c960305d0642dea91 Mon Sep 17 00:00:00 2001 From: Kamil Koczurek Date: Tue, 5 Sep 2023 19:55:46 +0200 Subject: [PATCH] derive Clone/Copy/Debug trio for shape::Cylinder --- crates/bevy_render/src/mesh/shape/cylinder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_render/src/mesh/shape/cylinder.rs b/crates/bevy_render/src/mesh/shape/cylinder.rs index f20981d23584f..cac101caa1994 100644 --- a/crates/bevy_render/src/mesh/shape/cylinder.rs +++ b/crates/bevy_render/src/mesh/shape/cylinder.rs @@ -2,6 +2,7 @@ use crate::mesh::{Indices, Mesh}; use wgpu::PrimitiveTopology; /// A cylinder which stands on the XZ plane +#[derive(Clone, Copy, Debug)] pub struct Cylinder { /// Radius in the XZ plane. pub radius: f32,