added notes, improved other features and removed most bugs

This commit is contained in:
2025-07-15 00:40:12 +01:00
parent 35ab726206
commit 76ec44d4e6
18 changed files with 777 additions and 488 deletions
+27
View File
@@ -0,0 +1,27 @@
pub struct EditorScene {
rect: egui::Rect,
}
impl EditorScene {
pub fn new() -> Self {
Self {
rect: egui::Rect::ZERO,
}
}
pub fn ui(&mut self, ctx: &egui::Context) {
egui::CentralPanel::default()
.frame(egui::Frame::NONE)
.show(ctx, |ui| {
egui::Scene::default()
.zoom_range(0.1..=10.0)
.show(ui, &mut self.rect, |ui| {
egui::Resize::default().auto_sized().show(ui, |ui| {
ui.group(|ui| {
ui.label("Scene");
});
});
});
});
}
}