diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-04-21 05:27:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-21 15:27:47 +0300 |
| commit | b24b477fc4b641e58069455cdabfe80d5d0995b4 (patch) | |
| tree | 9fa859e8d7bd9be5129191d349cad1da2f61f1a5 /include/JSystem/J3DGraphBase | |
| parent | 151c5099abdddb91c8c4cf3565c0c5075a0e0146 (diff) | |
d_a_tag_firewall done (#2137)
* mostly fix TVec3 ctors
* d_a_tag_firewall done
* remove asm
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DTransform.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DTransform.h b/include/JSystem/J3DGraphBase/J3DTransform.h index 0a327c4c48..d4c7bed2ce 100644 --- a/include/JSystem/J3DGraphBase/J3DTransform.h +++ b/include/JSystem/J3DGraphBase/J3DTransform.h @@ -10,10 +10,17 @@ struct J3DTextureSRTInfo; * @ingroup jsystem-j3d * */ + struct J3DTransformInfo { - /* 0x00 */ JGeometry::TVec3<f32> mScale; - /* 0x0C */ JGeometry::TVec3<s16> mRotation; - /* 0x14 */ JGeometry::TVec3<f32> mTranslate; + /* 0x00 */ Vec mScale; + /* 0x0C */ SVec mRotation; + /* 0x14 */ Vec mTranslate; + inline J3DTransformInfo& operator=(const J3DTransformInfo& b) { + mScale = b.mScale; + mRotation = b.mRotation; + mTranslate = b.mTranslate; + return *this; + } }; // Size: 0x20 extern J3DTransformInfo const j3dDefaultTransformInfo; |
