2026-05-01 20:06:54 -05:00
|
|
|
//
|
|
|
|
|
// Created by lbmas on 4/29/2026.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef B_ENGINE_MODELLOADER_H
|
|
|
|
|
#define B_ENGINE_MODELLOADER_H
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
|
|
#include "Model.h"
|
2026-05-17 19:12:27 -05:00
|
|
|
#include "uuid.h"
|
2026-05-01 20:06:54 -05:00
|
|
|
|
2026-05-04 00:41:34 -04:00
|
|
|
class ModelManager
|
2026-05-01 20:06:54 -05:00
|
|
|
{
|
|
|
|
|
public:
|
2026-05-17 19:12:27 -05:00
|
|
|
static std::unordered_map<uuids::uuid, std::unique_ptr<Model>> models;
|
2026-05-02 21:24:21 -04:00
|
|
|
|
2026-05-17 19:12:27 -05:00
|
|
|
static std::unique_ptr<Model> load_from_file(std::string_view _path, bool zUp = false);
|
2026-05-01 20:06:54 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif //B_ENGINE_MODELLOADER_H
|