add point + doc -> readme
This commit is contained in:
@@ -23,7 +23,7 @@ impl RotationExt for Vector {
|
||||
)
|
||||
}
|
||||
}
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct PolygonFrame {
|
||||
pub teta: f32,
|
||||
pub polygons: Vec<Polygon>,
|
||||
@@ -118,7 +118,7 @@ impl<Message> canvas::Program<Message> for PolygonFrame {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Polygon {
|
||||
pub global_teta: f32,
|
||||
pub points_teta: Vec<f32>,
|
||||
|
||||
Reference in New Issue
Block a user