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
@ -61,6 +61,7 @@ impl From<RegularPolygon> for Mesh {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A circle in the `XY` plane
|
/// A circle in the `XY` plane
|
||||||
|
#[derive(Debug, Copy, Clone)]
|
||||||
pub struct Circle {
|
pub struct Circle {
|
||||||
/// Inscribed radius in the `XY` plane.
|
/// Inscribed radius in the `XY` plane.
|
||||||
pub radius: f32,
|
pub radius: f32,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user