Basic input handling, Editor camera Movement

This commit is contained in:
2023-01-04 19:01:58 +01:00
parent d5a6ddb9d5
commit 13f67a7cdb
15 changed files with 382 additions and 152 deletions

View File

@ -7,7 +7,6 @@
std::vector<Asset> AssetManager::assets;
std::filesystem::path AssetManager::currentPath;
void AssetManager::Init()
{
assets = std::vector<Asset>();
@ -38,7 +37,6 @@ void AssetManager::setAssetPath(std::filesystem::path path)
currentPath = path;
}
YoggieEngine::Mesh* AssetManager::LoadFromAssetFile(const std::filesystem::path assetPath)
{
YoggieEngine::Mesh* imported = nullptr;
@ -147,4 +145,4 @@ YoggieEngine::Renderable* AssetManager::LoadFromSource(const std::filesystem::pa
return model->renderable;
}
}