Skip to content

Commit 91109f6

Browse files
committed
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
1 parent e96b21a commit 91109f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_render/src/mesh/shape/regular_polygon.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ impl From<RegularPolygon> for Mesh {
6161
}
6262

6363
/// A circle in the `XY` plane
64+
#[derive(Debug, Copy, Clone)]
6465
pub struct Circle {
6566
/// Inscribed radius in the `XY` plane.
6667
pub radius: f32,

0 commit comments

Comments
 (0)