mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 17:45:53 +00:00
Update order of code
Important stuff first, secondary stuff used by the important stuff second.
This commit is contained in:
parent
0d587924c0
commit
9d0b1ff551
@ -14,15 +14,6 @@
|
|||||||
//!
|
//!
|
||||||
//! <https://github.com/gfx-rs/wgpu/issues/1492>
|
//! <https://github.com/gfx-rs/wgpu/issues/1492>
|
||||||
|
|
||||||
#[derive(Default)]
|
|
||||||
pub struct Options {
|
|
||||||
pub show_trace: bool,
|
|
||||||
pub show_layout_debug_on_hover: bool,
|
|
||||||
pub show_debug_text_example: bool,
|
|
||||||
pub show_settings_ui: bool,
|
|
||||||
pub show_inspection_ui: bool,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct Gui {
|
pub struct Gui {
|
||||||
pub context: egui::Context,
|
pub context: egui::Context,
|
||||||
pub render_pass: egui_wgpu::renderer::RenderPass,
|
pub render_pass: egui_wgpu::renderer::RenderPass,
|
||||||
@ -81,3 +72,12 @@ impl std::fmt::Debug for Gui {
|
|||||||
f.write_str("EguiState {}")
|
f.write_str("EguiState {}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Default)]
|
||||||
|
pub struct Options {
|
||||||
|
pub show_trace: bool,
|
||||||
|
pub show_layout_debug_on_hover: bool,
|
||||||
|
pub show_debug_text_example: bool,
|
||||||
|
pub show_settings_ui: bool,
|
||||||
|
pub show_inspection_ui: bool,
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user