Optimize Animated Model bones matrices buffer update

This commit is contained in:
Wojtek Figat
2021-06-06 23:15:41 +02:00
parent 982b22b4b1
commit 07ad94de13
4 changed files with 33 additions and 25 deletions

View File

@@ -7,7 +7,6 @@
#include "Engine/Engine/EngineService.h"
Array<AnimatedModel*> UpdateList;
Array<Matrix> UpdateBones;
class AnimationsService : public EngineService
{
@@ -81,7 +80,6 @@ void AnimationsService::Update()
void AnimationsService::Dispose()
{
UpdateList.Resize(0);
UpdateBones.Resize(0);
}
void Animations::AddToUpdate(AnimatedModel* obj)