implement/match CalcLocalTransform (#241)

* implement/match CalcLocalTransform

* fix odd build error

* address feedback

move vec.h to thirdparty folder
update vec.h
move all realtime code to realtime folder
move calclocaltransform out of legoutil and into realtime
cast shift to MxS32
add additional unroll hack to CalcLocalTransform to prevent msvc entropy
This commit is contained in:
Ramen2X
2023-10-24 08:27:24 -04:00
committed by GitHub
parent 1ab29590ee
commit 74329d681b
9 changed files with 1150 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
#define MXVECTOR_H
#include "mxtypes.h"
#include <vec.h>
// VTABLE 0x100d4288
// SIZE 0x8
@@ -61,7 +62,7 @@ public:
virtual void SetVector(float *p_other);
inline float& operator[](size_t idx) { return m_data[idx]; }
inline const float operator[](size_t idx) const { return m_data[idx]; }
inline const float& operator[](size_t idx) const { return m_data[idx]; }
protected:
float *m_data;
};