76c778a4dfe9c6441eb8133b7524f073bf56c596
[neverball] / share / ball.h
1 /*
2  * Copyright (C) 2003 Robert Kooima
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #ifndef BALL_H
16 #define BALL_H
17
18 /*---------------------------------------------------------------------------*/
19
20 #define BALL_FUDGE 0.001f
21
22 void ball_init(void);
23 void ball_free(void);
24
25 const struct d_mtrl *ball_draw(const struct d_mtrl *,
26                                const float *,
27                                const float *,
28                                const float *, float);
29
30 /*---------------------------------------------------------------------------*/
31
32 #endif