Adding model loading and bvh generation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user