Temp-Classes/rage/vector.hpp
Reece Watson 9679e59399 feat(CObjectCreationDataNode): Added node and vector4. (#16)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.
2022-08-06 19:37:38 +02:00

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;
}