2025-01-23 17:19:53 +01:00
|
|
|
#include "scene/BVH.h"
|
2025-01-24 00:19:11 +01:00
|
|
|
#include "util/ModelLoader.h"
|
|
|
|
|
#include "window/Window.h"
|
2025-01-23 15:26:32 +01:00
|
|
|
|
2025-01-24 00:19:11 +01:00
|
|
|
int main()
|
|
|
|
|
{
|
2025-01-24 21:20:06 +01:00
|
|
|
Scene scene;
|
|
|
|
|
Window window;
|
2025-01-24 00:19:11 +01:00
|
|
|
while (true)
|
|
|
|
|
{
|
2025-01-24 21:20:06 +01:00
|
|
|
// IMGUI....
|
|
|
|
|
if (Imgui.Button())
|
|
|
|
|
{
|
|
|
|
|
scene.render();
|
|
|
|
|
}
|
|
|
|
|
window.update(scene.getImage());
|
2025-01-24 00:19:11 +01:00
|
|
|
}
|
|
|
|
|
return 0;
|
2025-01-23 12:33:39 +01:00
|
|
|
}
|