mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2025-01-03 16:13:21 +08:00
9679e59399
* feat(DataNodes): Add multiple data nodes and sync classes. * fix(CPlayerAppearanceDataNode): Update class to 1.61. * feat(CObjectCreationDataNode): Added node and vector4.
22 lines
324 B
C++
22 lines
324 B
C++
#pragma once
|
|
|
|
namespace rage
|
|
{
|
|
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; };
|
|
};
|
|
|
|
typedef vector3<float> fvector3;
|
|
typedef vector4<float> fvector4;
|
|
}
|