summaryrefslogtreecommitdiffstats
path: root/src/ball.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ball.c')
-rw-r--r--src/ball.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ball.c b/src/ball.c
index 60ebc74..7fd7660 100644
--- a/src/ball.c
+++ b/src/ball.c
@@ -23,18 +23,18 @@
#include "output.h"
struct db_ball {
- int x;
- int y;
+ double x;
+ double y;
int r;
- int a;
+ double a;
int d;
- double sr;
- int s;
+ int sr;
+ double s;
struct db_ball *next;
};
struct db_ball *
-db_ball_new(int x, int y, int r, int a, int d, double sr, int s,
+db_ball_new(int x, int y, int r, int a, int d, int sr, double s,
struct db_ball *prev)
{
struct db_ball *ball;