remove unused function move_ball
This commit is contained in:
parent
b9821ccd5e
commit
2615d02c45
1 changed files with 0 additions and 6 deletions
|
@ -16,12 +16,6 @@ float ball_y = 0.0;
|
||||||
float dir_x = +2.0;
|
float dir_x = +2.0;
|
||||||
float dir_y = +1.0;
|
float dir_y = +1.0;
|
||||||
|
|
||||||
void move_ball(float x, float y) {
|
|
||||||
/* Move ball */
|
|
||||||
ball_x = x;
|
|
||||||
ball_y = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
void paint_ball() {
|
void paint_ball() {
|
||||||
int r, c;
|
int r, c;
|
||||||
xy2rc(ball_x, ball_y, &r, &c);
|
xy2rc(ball_x, ball_y, &r, &c);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue