mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
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
This commit is contained in:
parent
e96b21a24a
commit
91109f6f18
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue