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-04 00:41:34 -04:00
|
|
|
class ModelManager
|
2026-05-01 20:06:54 -05:00
|
|
|
{
|
|
|
|
|
public:
|
2026-05-02 21:24:21 -04:00
|
|
|
static std::unordered_map<std::string, std::shared_ptr<Model>> models;
|
|
|
|
|
|
2026-05-03 12:43:39 -04:00
|
|
|
static std::shared_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
|