CAnimation: Make use of std::array
Same behavior, but more strongly typed.
This commit is contained in:
parent
9f63991a0a
commit
0c784aa305
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue