mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Improve matches in ROI classes (#608)
* Improve matches in ROI classes * More function implementations * Fix name * Fix vtables * Add annotation
This commit is contained in:

committed by
GitHub

parent
e609924e4c
commit
ec29f2633d
@@ -19,6 +19,9 @@ public:
|
||||
inline float GetY() { return m_data[1]; }
|
||||
inline float GetZ() { return m_data[2]; }
|
||||
|
||||
inline float& operator[](size_t idx) { return m_data[idx]; }
|
||||
inline const float& operator[](size_t idx) const { return m_data[idx]; }
|
||||
|
||||
// FUNCTION: LEGO1 0x100343a0
|
||||
inline Mx3DPointFloat(const Mx3DPointFloat& p_other) : Vector3(m_elements) { EqualsImpl(p_other.m_data); }
|
||||
|
||||
|
@@ -10,6 +10,9 @@ public:
|
||||
inline MxMatrix() : Matrix4(m_elements) {}
|
||||
inline MxMatrix(const MxMatrix& p_matrix) : Matrix4(m_elements) { Equals(p_matrix); }
|
||||
|
||||
float* operator[](size_t idx) { return m_data[idx]; }
|
||||
const float* operator[](size_t idx) const { return m_data[idx]; }
|
||||
|
||||
// FUNCTION: LEGO1 0x10002850
|
||||
void operator=(const Matrix4& p_matrix) override { Equals(p_matrix); } // vtable+0x28
|
||||
|
||||
|
Reference in New Issue
Block a user