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 9d234a48ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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