I optimized for rendering, and made a horrific writing API, smh

This commit is contained in:
2021-02-21 21:06:02 -08:00
parent ebf5aa0ac4
commit 54e89a28ba
5 changed files with 118 additions and 49 deletions

View File

@@ -14,7 +14,7 @@ use imgui::Ui;
pub struct ImguiWindow<'a, T> {
pub window: fn() -> imgui::Window<'a>,
pub func: fn(&Ui, &T),
pub func: fn(&Ui, Vec<&T>),
}
#[derive(Clone, Copy, Debug, PartialEq)]