mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 20:13:41 +00:00
CAnimation: Convert typedefs into using aliases
Same behavior, nicer readability
This commit is contained in:
parent
d4d7cf66cd
commit
f233af5de4
@ -13,9 +13,9 @@ class CAnimation : public CResource
|
||||
DECLARE_RESOURCE_TYPE(Animation)
|
||||
friend class CAnimationLoader;
|
||||
|
||||
typedef std::vector<CVector3f> TScaleChannel;
|
||||
typedef std::vector<CQuaternion> TRotationChannel;
|
||||
typedef std::vector<CVector3f> TTranslationChannel;
|
||||
using TScaleChannel = std::vector<CVector3f>;
|
||||
using TRotationChannel = std::vector<CQuaternion>;
|
||||
using TTranslationChannel = std::vector<CVector3f>;
|
||||
|
||||
float mDuration = 0.0f;
|
||||
float mTickInterval = 0.0333333f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user