diff options
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; |
