| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <math/seadQuat.h> |
| 4 | |
| 5 | namespace al { |
| 6 | class PlacementInfo; |
| 7 | |
| 8 | class KeyPose { |
| 9 | public: |
| 10 | KeyPose(); |
| 11 | |
| 12 | void init(const PlacementInfo& info); |
| 13 | |
| 14 | const sead::Quatf& getQuat() const { return mQuat; } |
| 15 | |
| 16 | const sead::Vector3f& getTrans() const { return mTrans; } |
| 17 | |
| 18 | const PlacementInfo& getPlacementInfo() const { return *mPlacementInfo; } |
| 19 | |
| 20 | private: |
| 21 | sead::Quatf mQuat = sead::Quatf::unit; |
| 22 | sead::Vector3f mTrans = sead::Vector3f::zero; |
| 23 | PlacementInfo* mPlacementInfo = nullptr; |
| 24 | }; |
| 25 | |
| 26 | static_assert(sizeof(KeyPose) == 0x28); |
| 27 | } // namespace al |
| 28 |