mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Vec3: Simplify operator== code
This commit is contained in:
@ -150,10 +150,7 @@ public:
|
|||||||
|
|
||||||
bool operator==(const Vec3 &other) const
|
bool operator==(const Vec3 &other) const
|
||||||
{
|
{
|
||||||
if (x == other.x && y == other.y && z == other.z)
|
return x == other.x && y == other.y && z == other.z;
|
||||||
return true;
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetZero()
|
void SetZero()
|
||||||
|
Reference in New Issue
Block a user