diff --git a/Dokumentation.pdf b/Dokumentation.pdf new file mode 100644 index 0000000..bb4e4c9 Binary files /dev/null and b/Dokumentation.pdf differ diff --git a/bin/zlib1.dll b/bin/zlib1.dll index 1aa57ce..a364c4c 100644 Binary files a/bin/zlib1.dll and b/bin/zlib1.dll differ diff --git a/breakout.c b/breakout.c index 8538063..85a9a2c 100644 --- a/breakout.c +++ b/breakout.c @@ -133,6 +133,7 @@ void BALL_Update(Ball * obj, Paddle * paddle){ if (BALL_CollideWithRect(obj, &(paddle->TargetRect))) { (obj->Location) = vectorSub((obj->Location), lastMomentum); // Maybe remove this + BALL_SteerMomentum(obj, &(paddle->TargetRect)); (obj->Location) = vectorAdd((obj->Location), (obj->Momentum)); // Maybe remove this }