mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
12919a46ff
* Added get_position() helper to CNavigation * Updated CPed class: * m_fatigued_health_threshold * m_injured_health_threshold * m_dying_health_threshold * m_hurt_health_threshold * Updated CPlayerInfo class: * m_wanted_level_difficulty * m_wanted_level_multiplier * Updated CVehicle class: * m_dirt_level * m_max_passengers * m_num_of_passengers * m_door_lock_status
46 lines
811 B
C++
46 lines
811 B
C++
#pragma once
|
|
|
|
namespace rage
|
|
{
|
|
template<typename T>
|
|
union vector2
|
|
{
|
|
T data[2];
|
|
struct { T x, y; };
|
|
};
|
|
|
|
template<typename T>
|
|
union vector3
|
|
{
|
|
T data[3];
|
|
struct { T x, y, z; };
|
|
};
|
|
|
|
template<typename T>
|
|
union vector4
|
|
{
|
|
T data[4];
|
|
struct { T x, y, z, w; };
|
|
};
|
|
|
|
template<typename T>
|
|
union matrix34
|
|
{
|
|
T data[3][4];
|
|
struct { struct {T x, y, z, w; } rows[3];};
|
|
};
|
|
|
|
template<typename T>
|
|
union matrix44
|
|
{
|
|
T data[4][4];
|
|
struct { struct {T x, y, z, w; } rows[4];};
|
|
};
|
|
|
|
typedef vector2<float> fvector2;
|
|
typedef vector3<float> fvector3;
|
|
typedef vector4<float> fvector4;
|
|
typedef matrix34<float> fmatrix34;
|
|
typedef matrix44<float> fmatrix44;
|
|
}
|