Basic GUI

This commit is contained in:
Dynamitos
2025-01-24 23:20:30 +01:00
parent 8af00e2510
commit cfefb125c8
9 changed files with 64 additions and 8 deletions
+7
View File
@@ -2,6 +2,8 @@
#include "scene/Scene.h"
#include "util/ModelLoader.h"
#include "window/Window.h"
#include <iostream>
#include <imgui.h>
int main()
{
@@ -19,6 +21,11 @@ int main()
});
while (true)
{
window.beginFrame();
if (ImGui::Button("Test"))
{
std::cout << "Test" << std::endl;
}
window.update(scene.getImage());
}
return 0;