22 lines
380 B
C++
22 lines
380 B
C++
//
|
|
// 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"
|
|
|
|
class ModelLoader
|
|
{
|
|
public:
|
|
static std::unordered_map<std::string, std::shared_ptr<Model>> models;
|
|
|
|
static std::shared_ptr<Model> load_from_file(std::string_view _path);
|
|
};
|
|
|
|
|
|
#endif //B_ENGINE_MODELLOADER_H
|