move all music data to struct, save this data now
This commit is contained in:
@@ -42,6 +42,13 @@ impl PolygonFrame {
|
||||
poly.update();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn default() -> PolygonFrame {
|
||||
PolygonFrame {
|
||||
teta: 0.0,
|
||||
polygons: vec![],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<Message> canvas::Program<Message> for PolygonFrame {
|
||||
|
||||
Reference in New Issue
Block a user