Merge pull request #3 from davidebeatrici/cnavigation-up-right-vectors

fix(CNavigation): Identify offsets for up and right vectors
This commit is contained in:
Yimura 2022-06-01 00:08:05 +02:00 committed by GitHub
commit 75c1460e61

View File

@ -5,11 +5,12 @@ class CNavigation
{ {
public: public:
char pad_0000[32]; //0x0000 char pad_0000[32]; //0x0000
float m_heading; //0x0020 rage::fvector3 m_right; //0x0020
float m_heading2; //0x0024 char pad_002C[4]; //0x002C
char pad_0028[8]; //0x0028 rage::fvector3 m_forward; //0x0030
rage::fvector3 m_rotation; //0x0030 char pad_003C[4]; //0x003C
char pad_003C[20]; //0x003C rage::fvector3 m_up; //0x0040
rage::fvector3 m_position; //0x0054 char pad_004C[4]; //0x004C
rage::fvector3 m_position; //0x0050
}; //Size: 0x0060 }; //Size: 0x0060
static_assert(sizeof(CNavigation) == 0x5C); static_assert(sizeof(CNavigation) == 0x5C);