Skip to content

Commit

Permalink
add Debug, Copy, Clone derives to Circle (#6009)
Browse files Browse the repository at this point in the history
# Objective

- all the shapes except Circle have derives for Debug, Copy, and Clone

## Solution

- add derive to Circle for Debug, Copy, and Clone
  • Loading branch information
mwcz committed Sep 18, 2022
1 parent e96b21a commit 91109f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_render/src/mesh/shape/regular_polygon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ impl From<RegularPolygon> for Mesh {
}

/// A circle in the `XY` plane
#[derive(Debug, Copy, Clone)]
pub struct Circle {
/// Inscribed radius in the `XY` plane.
pub radius: f32,
Expand Down

0 comments on commit 91109f6

Please sign in to comment.