diff --git a/LEGO1/realtime/matrix.h b/LEGO1/realtime/matrix.h index 816d86cb..c792f4da 100644 --- a/LEGO1/realtime/matrix.h +++ b/LEGO1/realtime/matrix.h @@ -14,6 +14,9 @@ struct UnknownMatrixType { // VTABLE: BETA10 0x101b8340 // SIZE 0x08 class Matrix4 { +protected: + float (*m_data)[4]; + public: // FUNCTION: LEGO1 0x10004500 // FUNCTION: BETA10 0x1000fc70 @@ -47,9 +50,6 @@ class Matrix4 { float* operator[](int idx) { return m_data[idx]; } const float* operator[](int idx) const { return m_data[idx]; } - -protected: - float (*m_data)[4]; }; #endif // MATRIX_H diff --git a/LEGO1/realtime/vector.h b/LEGO1/realtime/vector.h index adc880fc..8b6a7230 100644 --- a/LEGO1/realtime/vector.h +++ b/LEGO1/realtime/vector.h @@ -21,6 +21,8 @@ class Vector2 { inline virtual void SetData(float* p_data); // vtable+0x1c inline virtual void EqualsImpl(const float* p_data); // vtable+0x20 + float* m_data; // 0x04 + public: // FUNCTION: LEGO1 0x1000c0f0 // FUNCTION: BETA10 0x100116a0 @@ -81,9 +83,6 @@ class Vector2 { // FUNCTION: BETA10 0x1001d170 const float& operator[](int idx) const { return m_data[idx]; } - -protected: - float* m_data; // 0x04 }; // VTABLE: LEGO1 0x100d4518