1
0
Fork 0
forked from suyu/suyu

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

View file

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