From 91109f6f18d4c2a6a61adbd671e03dd0a9d247d0 Mon Sep 17 00:00:00 2001 From: Michael Clayton Date: Sun, 18 Sep 2022 02:03:10 +0000 Subject: [PATCH] add Debug, Copy, Clone derives to Circle (#6009) # Objective - all the shapes except Circle have derives for Debug, Copy, and Clone ## Solution - add derive to Circle for Debug, Copy, and Clone --- crates/bevy_render/src/mesh/shape/regular_polygon.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_render/src/mesh/shape/regular_polygon.rs b/crates/bevy_render/src/mesh/shape/regular_polygon.rs index 7f36dc1eaf..ed47ba3795 100644 --- a/crates/bevy_render/src/mesh/shape/regular_polygon.rs +++ b/crates/bevy_render/src/mesh/shape/regular_polygon.rs @@ -61,6 +61,7 @@ impl From for Mesh { } /// A circle in the `XY` plane +#[derive(Debug, Copy, Clone)] pub struct Circle { /// Inscribed radius in the `XY` plane. pub radius: f32,