1
1
Fork 0
forked from suyu/suyu

maxwell_3d: Resolve -Wextra-semi warning

Semicolons after a function definition aren't necessary.
This commit is contained in:
Lioncash 2020-08-14 08:13:38 -04:00
parent e050594706
commit 83d8bf9af9

View file

@ -647,7 +647,7 @@ public:
GetX() + GetWidth(), // right GetX() + GetWidth(), // right
GetY() // bottom GetY() // bottom
}; };
}; }
f32 GetX() const { f32 GetX() const {
return std::max(0.0f, translate_x - std::fabs(scale_x)); return std::max(0.0f, translate_x - std::fabs(scale_x));