summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/glpong3d.h b/glpong3d.h
index 894de0d..13615db 100644
--- a/glpong3d.h
+++ b/glpong3d.h
@@ -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