XPlor/libs/xassets/xanimdeltapart.h
njohnson e40bee38af Refactor: Implement default destructor for XAnimDeltaPart
This commit implements a default destructor for the `XAnimDeltaPart` class, ensuring proper resource cleanup and adhering to best practices. The destructor is now implicitly generated, simplifying the codebase.
2025-09-10 21:55:43 -04:00

34 lines
616 B
C++

#ifndef XANIMDELTAPART_H
#define XANIMDELTAPART_H
#include "xasset.h"
#include "xanimparttrans.h"
#include "xanimdeltapartquat.h"
class XAnimDeltaPart : public XAsset
{
public:
explicit XAnimDeltaPart();
~XAnimDeltaPart() = default;
void ParseData(XDataStream *aStream) override;
void Clear() override;
const XAnimPartTrans& GetTrans() const;
void SetTrans(const XAnimPartTrans& trans);
const XAnimDeltaPartQuat& GetQuat() const;
void SetQuat(const XAnimDeltaPartQuat& quat);
private:
XAnimPartTrans mTrans;
XAnimDeltaPartQuat mQuat;
};
#endif // XANIMDELTAPART_H