Match and link CPrimitive and CHalfTransition, add CPOINode

This commit is contained in:
Phillip Stephens 2022-12-09 11:38:58 -08:00
parent 5ec6adb7c3
commit bf5279ef2f
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#include "Kyoto/Animation/CHalfTransition.hpp"
#include "Kyoto/Animation/CMetaTransFactory.hpp"
#include "Kyoto/Streams/CInputStream.hpp"
CHalfTransition::CHalfTransition(CInputStream& in)
: x0_id(in.Get< uint >()), x4_trans(CMetaTransFactory::CreateMetaTrans(in)) {}

View File

@ -0,0 +1 @@
#include "Kyoto/Animation/CPOINode.hpp"

View File

@ -0,0 +1,10 @@
#include "Kyoto/Animation/CPrimitive.hpp"
#include "Kyoto/Streams/CInputStream.hpp"
CPrimitive::CPrimitive(CInputStream& in)
: x0_animId(in.Get<CAssetId>())
, x4_animIdx(in.Get<int>())
, x8_animName(in) {
}