restructure work

This commit is contained in:
Claire Schwarzer 2026-07-04 17:43:15 +02:00
parent 64c8492e5c
commit e01595e155
3424 changed files with 492 additions and 1696851 deletions

View file

@ -0,0 +1,22 @@
#include "modelLoader.h"
namespace engine::assets
{
Model loadBlendModel(const char *path)
{
return Model(path);
}
Model loadModel(const char *path)
{
int length = strlen(path);
const char *blendEnd = &path[length - 6];
std::cout << blendEnd << std::endl;
if (std::strcmp(blendEnd, ".blend")) {
return loadBlendModel(path);
}
return Model(path);
}
}