CAnimation: Make use of std::array

Same behavior, but more strongly typed.
This commit is contained in:
Lioncash 2020-06-09 04:19:59 -04:00
parent 9f63991a0a
commit 0c784aa305
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include "Core/Resource/Animation/CAnimEventData.h"
#include <Common/Math/CQuaternion.h>
#include <Common/Math/CVector3f.h>
#include <array>
#include <vector>
class CAnimation : public CResource
@ -31,7 +32,7 @@ class CAnimation : public CResource
uint8 RotationChannelIdx = 0xFF;
uint8 TranslationChannelIdx = 0xFF;
};
SBoneChannelInfo mBoneInfo[100];
std::array<SBoneChannelInfo, 100> mBoneInfo;
TResPtr<CAnimEventData> mpEventData;