diff options
author | Matt Turner <mattst88@gmail.com> | 2010-01-22 22:59:35 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-04-04 17:14:36 -0400 |
commit | c265e527e34736c49c2c6f017d84aa0723fb2fc9 (patch) | |
tree | 670ffd27f66a2a37bbf636cd3b20efe22e60fdf9 /glpong3d.h | |
parent | 54124c855dd096825b4487417ce1e085228dde9e (diff) |
Move paddle code into paddle.c.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'glpong3d.h')
-rw-r--r-- | glpong3d.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -25,10 +25,6 @@ #define AMASK 0xff000000 #endif -GLuint paddle_texture; -GLuint paddle_texture_hit; -GLuint box; - typedef struct { GLfloat x, y, z; } Coord_t; @@ -40,10 +36,12 @@ typedef struct { } Paddle_t; typedef struct { - Paddle_t Front; - Paddle_t Back; + Paddle_t front_paddle; + Paddle_t back_paddle; } GLPong_t; GLPong_t GLPong; +GLuint box; + #endif |