Skip to content
Snippets Groups Projects
Commit f1818593 authored by antoinemeyer5's avatar antoinemeyer5
Browse files

clean ball.c et ball.h

parent 564eaaa5
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,12 @@ void initBall()
{
ball.x = 5 * BLOCK_SIZE;
ball.y = 5 * BLOCK_SIZE;
ball.z = player.h/BLOCK_SIZE;
ball.z = player.h / BLOCK_SIZE;
ball.h = 0.5 * BLOCK_SIZE;
ball.w = 0.5 * BLOCK_SIZE;
ball.w = 0.5 * BLOCK_SIZE;
ball.isHit = 0;
ball.angle = -pi;
ball.speed = 0;
}
float defineAngle(int canonX, int canonY, int xDropPoint, int yDropPoint)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment