Fix Matrix4::operator[] annotation (#1390)

This commit is contained in:
Christian Semmler
2025-02-22 06:48:11 -07:00
committed by GitHub
parent 5e5b048b34
commit ea5a722311
12 changed files with 20 additions and 16 deletions

View File

@@ -48,6 +48,7 @@ public:
inline int BETA_1005a590(Matrix4& p_mat);
inline void Swap(int p_d1, int p_d2);
// FUNCTION: BETA10 0x1001c670
float* operator[](int idx) { return m_data[idx]; }
// FUNCTION: BETA10 0x10017780

View File

@@ -292,8 +292,8 @@ int Matrix4::BETA_1005a590(Matrix4& p_mat)
{
float local5c[4][4];
Matrix4 localc(local5c);
localc = *this;
((Matrix4&) localc) = *this;
p_mat.SetIdentity();
for (int i = 0; i < 4; i++) {

View File

@@ -68,6 +68,7 @@ void OrientableROI::WrappedVTable0x24(const Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x100a50a0
// FUNCTION: BETA10 0x1016601f
void OrientableROI::GetLocalTransform(Matrix4& p_transform)
{
MxMatrix mat;