Match simple BETA10 vector calls (#1382)

* Add BETA10 for Vector2

* BETA10 match the remaining vector vtables

* Match vector implementations to BETA10

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2025-02-10 18:08:49 +01:00
committed by GitHub
parent 82453f62d8
commit 956c900ec6
5 changed files with 65 additions and 32 deletions

View File

@@ -30,11 +30,9 @@ public:
Mx3DPointFloat(const Vector3& p_other) : Vector3(m_elements) { EqualsImpl(p_other.m_data); }
// FUNCTION: LEGO1 0x10003c10
// FUNCTION: BETA10 0x100116e0
virtual void operator=(const Vector3& p_impl) { EqualsImpl(p_impl.m_data); } // vtable+0x88
// FUNCTION: BETA10 0x10015240
// ??4Mx3DPointFloat@@QAEAAV0@ABV0@@Z
// FUNCTION: BETA10 0x10013460
float& operator[](int idx) { return m_data[idx]; }
@@ -42,6 +40,7 @@ public:
const float& operator[](int idx) const { return m_data[idx]; }
// SYNTHETIC: LEGO1 0x10010c00
// SYNTHETIC: BETA10 0x10015240
// ??4Mx3DPointFloat@@QAEAAV0@ABV0@@Z
private: