diff options
Diffstat (limited to 'paddle.h')
-rw-r--r-- | paddle.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,11 @@ #include "SDL.h" #include "SDL_opengl.h" -#include "glpong3d.h" +typedef struct { + GLfloat x, y, z; + GLfloat w, h; + GLfloat r, g, b; +} Paddle_t; void GLPong_PaddleDraw(const Paddle_t * paddle); void GLPong_PaddleInit(Paddle_t * paddle, GLfloat z, GLuint texture); |