mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-10 22:31:52 -04:00
Fix J3DTransformInfo array ctor
This commit is contained in:
@@ -6,10 +6,23 @@
|
||||
|
||||
struct J3DTextureSRTInfo;
|
||||
|
||||
// struct J3DTransformInfo {
|
||||
// /* 0x00 */ JGeometry::TVec3<f32> mScale;
|
||||
// /* 0x0C */ JGeometry::TVec3<s16> mRotation;
|
||||
// /* 0x14 */ JGeometry::TVec3<f32> mTranslate;
|
||||
// }; // Size: 0x20
|
||||
|
||||
// I doubt this is right but it seems like the only way to prevent an empty ctor being added on array construction
|
||||
struct J3DTransformInfo {
|
||||
/* 0x00 */ JGeometry::TVec3<f32> mScale;
|
||||
/* 0x00 */ Vec mScale;
|
||||
/* 0x0C */ JGeometry::TVec3<s16> mRotation;
|
||||
/* 0x14 */ JGeometry::TVec3<f32> mTranslate;
|
||||
/* 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;
|
||||
|
||||
Reference in New Issue
Block a user