Merge pull request #4519 from lioncash/semi

maxwell_3d: Resolve -Wextra-semi warning
This commit is contained in:
bunnei 2020-08-16 00:55:15 -04:00 committed by GitHub
commit 404362e1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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