mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2025-01-03 16:13:21 +08:00
feat(srcVector): Added == and != operators (#112)
This commit is contained in:
parent
891ad67768
commit
66a0c32e1d
@ -54,6 +54,16 @@ namespace rage
|
|||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool operator==(const scrVector& other)
|
||||||
|
{
|
||||||
|
return this->x == other.x && this->y == other.y && this->z == other.z;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool operator!=(const scrVector& other)
|
||||||
|
{
|
||||||
|
return this->x != other.x || this->y != other.y || this->z != other.z;
|
||||||
|
}
|
||||||
|
|
||||||
alignas(8) float x{};
|
alignas(8) float x{};
|
||||||
alignas(8) float y{};
|
alignas(8) float y{};
|
||||||
alignas(8) float z{};
|
alignas(8) float z{};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user