Update project structure

This commit is contained in:
2024-10-19 10:20:37 +02:00
parent aa3dd28fb3
commit 2a43299a15
49 changed files with 79 additions and 65 deletions

View File

@@ -3,14 +3,15 @@
#include "components/transform.h"
#include "core/camera.h"
#include "core/light.h"
#include "spdlog/spdlog.h"
#include "window/window.h"
using namespace entt::literals;
Controller::Controller()
Controller::Controller(std::string_view path)
{
std::filesystem::path document_path("ABeautifulGame.glb");
// std::filesystem::path document_path("WaterBottle/glTF-Binary/WaterBottle.glb");
spdlog::info("Open {}", path);
std::filesystem::path document_path(path);
entt::hashed_string document_hash(document_path.string().c_str());
entt::resource<Gltf> gltf_document =