2024-01-12 19:34:38 -05:00
|
|
|
#ifndef MXMATRIX_H
|
|
|
|
#define MXMATRIX_H
|
|
|
|
|
|
|
|
#include "realtime/matrix.h"
|
|
|
|
|
|
|
|
// VTABLE: LEGO1 0x100d4300
|
2024-07-07 08:10:46 -04:00
|
|
|
// VTABLE: BETA10 0x101b82e0
|
2024-01-12 19:34:38 -05:00
|
|
|
// SIZE 0x48
|
|
|
|
class MxMatrix : public Matrix4 {
|
|
|
|
public:
|
2024-04-24 08:24:59 -04:00
|
|
|
// FUNCTION: LEGO1 0x1006b120
|
2024-09-14 19:14:11 -04:00
|
|
|
// FUNCTION: BETA10 0x10015370
|
2024-07-04 19:06:32 -04:00
|
|
|
MxMatrix() : Matrix4(m_elements) {}
|
2024-03-18 10:38:02 -04:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10032770
|
2024-07-04 19:06:32 -04:00
|
|
|
MxMatrix(const MxMatrix& p_matrix) : Matrix4(m_elements) { Equals(p_matrix); }
|
2024-01-12 19:34:38 -05:00
|
|
|
|
2024-11-29 15:11:29 -05:00
|
|
|
// FUNCTION: BETA10 0x1000fc20
|
2024-07-04 19:06:32 -04:00
|
|
|
MxMatrix(const Matrix4& p_matrix) : Matrix4(m_elements) { Equals(p_matrix); }
|
2024-03-18 10:38:02 -04:00
|
|
|
|
2024-07-26 13:53:09 -04:00
|
|
|
// FUNCTION: BETA10 0x10010860
|
2024-04-07 08:03:21 -04:00
|
|
|
float* operator[](int idx) { return m_data[idx]; }
|
2024-07-26 13:53:09 -04:00
|
|
|
|
2024-11-01 12:21:15 -04:00
|
|
|
// FUNCTION: BETA10 0x1001c670
|
2024-04-07 08:03:21 -04:00
|
|
|
const float* operator[](int idx) const { return m_data[idx]; }
|
2024-03-01 12:19:41 -05:00
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// FUNCTION: LEGO1 0x10002850
|
2024-02-01 15:42:10 -05:00
|
|
|
void operator=(const Matrix4& p_matrix) override { Equals(p_matrix); } // vtable+0x28
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-12 19:34:38 -05:00
|
|
|
// FUNCTION: LEGO1 0x10002860
|
|
|
|
virtual void operator=(const MxMatrix& p_matrix) { Equals(p_matrix); } // vtable+0x48
|
|
|
|
|
|
|
|
private:
|
2024-04-24 08:24:59 -04:00
|
|
|
float m_elements[4][4]; // 0x08
|
2024-01-12 19:34:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXMATRIX_H
|