Adding model loading and bvh generation

This commit is contained in:
Dynamitos
2025-01-23 17:19:53 +01:00
parent 4566e19526
commit 91bdbe4a09
13 changed files with 135 additions and 28 deletions
+5
View File
@@ -1,6 +1,11 @@
#include "window/Window.h"
#include "util/ModelLoader.h"
#include "scene/BVH.h"
int main() {
BVH bvh;
bvh.addModels(ModelLoader::loadModel("../../cube.fbx"));
bvh.generate();
Window w(1920, 1080);
while (true) {
w.update();