#include "xdynentitypose.h"

XDynEntityPose::XDynEntityPose()
    : XAsset()
    , mPose()
    , mRadius(0.0f)
{
    SetName("Dynamic Entity Pose");
}

XDynEntityPose::~XDynEntityPose()
{
    
}

void XDynEntityPose::ParseData(XDataStream *aStream)
{
    if (GetPtr())
    {
        mPose.ParseData(aStream);

        *aStream >> mRadius;
    }
}

void XDynEntityPose::Clear()
{
    mPose.Clear();
    mRadius = 0.0f;
}
