more work on asset registry and importing process

This commit is contained in:
2026-05-17 19:12:27 -05:00
parent b3b7688f76
commit e02e92db10
13 changed files with 221 additions and 148 deletions

View File

@@ -9,13 +9,14 @@
#include <string_view>
#include "Model.h"
#include "uuid.h"
class ModelManager
{
public:
static std::unordered_map<std::string, std::shared_ptr<Model>> models;
static std::unordered_map<uuids::uuid, std::unique_ptr<Model>> models;
static std::shared_ptr<Model> load_from_file(std::string_view _path, bool zUp = false);
static std::unique_ptr<Model> load_from_file(std::string_view _path, bool zUp = false);
};