Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles committed Jan 3, 2025
1 parent f7d1368 commit 73a5b54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions LEGO1/mxgeometry/mxgeometry3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#define MXGEOMETRY3D_H

#include "decomp.h"
#include "realtime/vector.h"
#include "realtime/vector2d.inl.h"
#include "realtime/vector3d.inl.h"

// VTABLE: LEGO1 0x100d4488
Expand Down
2 changes: 0 additions & 2 deletions LEGO1/mxgeometry/mxgeometry4d.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#define MXGEOMETRY4D_H

#include "decomp.h"
#include "realtime/matrix.h"
#include "realtime/matrix4d.inl.h"
#include "realtime/vector4d.inl.h"

// VTABLE: LEGO1 0x100d41e8
Expand Down
5 changes: 3 additions & 2 deletions LEGO1/mxgeometry/mxmatrix.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef MXMATRIX_H
#define MXMATRIX_H

#include "realtime/matrix.h"
#include "realtime/matrix4d.inl.h"

// VTABLE: LEGO1 0x100d4300
Expand Down Expand Up @@ -36,7 +35,9 @@ class MxMatrix : public Matrix4 {
float m_elements[4][4]; // 0x08
};

// Must be included here for correct ordering in binary
// Must be included here (not before MxMatrix) for correct ordering in binary.
// FromQuaternion and ToQuaternion in Matrix4 depend on Vector4.
// There's a chance they included mxgeometry4d.h after including this somewhere.
#include "realtime/vector4d.inl.h"

#endif // MXMATRIX_H
1 change: 0 additions & 1 deletion LEGO1/realtime/vector3d.inl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef VECTOR3D_H
#define VECTOR3D_H

#include "vector.h"
#include "vector2d.inl.h"

// FUNCTION: LEGO1 0x10002270
Expand Down

0 comments on commit 73a5b54

Please sign in to comment.