mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Vec3: Simplify operator== code
This commit is contained in:
parent
bb27f80a65
commit
e787501528
1 changed files with 1 additions and 4 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue