Refactor camera locations and other structs, name functions based on BETA (#900)

* Refactor camera locations and other structs, name functions based on BETA

* Add size assert

* Fix member name
This commit is contained in:
Christian Semmler
2024-05-10 10:23:47 -04:00
committed by GitHub
parent f5ffd3aba3
commit a1388adcd7
7 changed files with 1036 additions and 256 deletions

View File

@@ -5,6 +5,7 @@
#include "mxcore.h"
#include "mxtypes.h"
struct LegoCameraLocation;
class Vector3;
//////////////////////////////////////////////////////////////////////////////
@@ -73,6 +74,8 @@ public:
);
static MxResult UpdateCameraLocation(MxU32 p_location);
static MxResult UpdateCameraLocation(const char* p_location);
static LegoCameraLocation* GetCameraLocation(MxU32 p_location);
inline void SetLinearVel(MxFloat p_linearVel) { m_linearVel = p_linearVel; }
inline MxFloat GetLinearVel() { return m_linearVel; }
inline MxFloat GetRotationalVel() { return m_rotationalVel; }