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.
34 lines
616 B
C++
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
|
|
|
|
|
|
|
|
|
|
|