Merge pull request #4519 from lioncash/semi

maxwell_3d: Resolve -Wextra-semi warning
merge-requests/60/head
bunnei 2020-08-16 00:55:15 +07: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

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