24 lines
482 B
C++
24 lines
482 B
C++
#include "render/dl_model_object.h"
|
|
|
|
//#define TINYOBJLOADER_IMPLEMENTATION
|
|
//#include <tiny_obj_loader.h>
|
|
|
|
#include <fmt/format.h>
|
|
#include "io/dl_log.h"
|
|
|
|
namespace dl
|
|
{
|
|
|
|
std::vector<ModelObject*> ModelObject::Create(std::string_view path_name, std::string_view res_name)
|
|
{
|
|
return {};
|
|
/*std::vector<ModelObject*> ret = g_modelLoader->Load(path_name, res_name);
|
|
if (ret.empty())
|
|
{
|
|
log_err(fmt::format("模型加载失败:{}", path_name));
|
|
return {};
|
|
}
|
|
return ret;*/
|
|
}
|
|
|
|
} |