Match CAABox::GetTransformedAABox, minor fixes start CMetroidModelInstance

Former-commit-id: a31407c69c
This commit is contained in:
2022-10-09 13:54:18 -07:00
parent a54a441d21
commit 484b18ae07
6 changed files with 63 additions and 14 deletions

View File

@@ -54,7 +54,9 @@ public:
inline const CVector3f& GetRow(EDimX dim) const { return m0; }
inline const CVector3f& GetRow(EDimY dim) const { return m1; }
inline const CVector3f& GetRow(EDimZ dim) const { return m2; }
inline const CVector3f& GetRow(int i) const { return *(&m0 + i); }
inline const CVector3f& GetRow(int i) const {
return *(reinterpret_cast< const CVector3f* >(reinterpret_cast< const float* >(&m0) + i * 4));
}
// GetUp__12CTransform4fCFv
static CTransform4f LookAt(const CVector3f& pos, const CVector3f& lookPos,
const CVector3f& up = CVector3f::Up());