mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Refactor
This commit is contained in:
parent
2005083f27
commit
a885c3fab3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user