Added test assets

Test line to call asset manager temporary load
This commit is contained in:
Xiao Qi 2022-09-25 00:13:17 +08:00
parent 18eca1897e
commit a0a57e7c29
6 changed files with 5031 additions and 0 deletions

Binary file not shown.

Binary file not shown.

BIN
Assets/racoon.bin Normal file

Binary file not shown.

BIN
Assets/racoon.fbx Normal file

Binary file not shown.

5027
Assets/racoon.gltf Normal file

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,8 @@
#include "Scenes/SBTestScene.h" #include "Scenes/SBTestScene.h"
#include "Math/Transform/SHTransformComponent.h" #include "Math/Transform/SHTransformComponent.h"
#include "Assets/SHAssetManager.h"
using namespace SHADE; using namespace SHADE;
namespace Sandbox namespace Sandbox
@ -72,6 +74,8 @@ namespace Sandbox
SHADE::SHComponentManager::CreateComponentSparseSet<SHADE::SHRenderable>(); SHADE::SHComponentManager::CreateComponentSparseSet<SHADE::SHRenderable>();
SHADE::SHComponentManager::CreateComponentSparseSet<SHADE::SHTransformComponent>(); SHADE::SHComponentManager::CreateComponentSparseSet<SHADE::SHTransformComponent>();
SHADE::SHAssetManager::LoadDataTemp("../../Assets/racoon.fbx");
// Set up graphics system and windows // Set up graphics system and windows
graphicsSystem->SetWindow(&window); graphicsSystem->SetWindow(&window);
sdlWindow = SDL_CreateWindowFrom(window.GetHWND()); sdlWindow = SDL_CreateWindowFrom(window.GetHWND());