mirror of
https://github.com/lov3b/Pong.git
synced 2025-01-18 04:30:11 +01:00
remove static cast
This commit is contained in:
parent
911f51da78
commit
026dc6cd70
@ -33,8 +33,8 @@ public:
|
||||
}
|
||||
|
||||
void applyVector(Sint16 *ox, Sint16 *oy) const {
|
||||
*ox += static_cast<int>(std::round(x));
|
||||
*oy += static_cast<int>(std::round(y));
|
||||
*ox += std::round(x);
|
||||
*oy += std::round(y);
|
||||
}
|
||||
|
||||
void bump(BumpType bumpType, PaddleDirection paddleDirection) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user