diff options
Diffstat (limited to 'glpong3d.h')
-rw-r--r-- | glpong3d.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -27,7 +27,6 @@ GLuint paddle_texture; GLuint paddle_texture_hit; -GLuint ball_texture; GLuint box; typedef struct { @@ -41,24 +40,10 @@ typedef struct { } Paddle_t; typedef struct { - Coord_t coord; - GLfloat w, h; - GLfloat r, g, b; - GLfloat xv, yv, zv; - GLfloat rotate; -} Ball_t; - -typedef struct { - Ball_t Ball; Paddle_t Front; Paddle_t Back; } GLPong_t; GLPong_t GLPong; -void GLPong_Collide(Ball_t * ball, const Paddle_t * paddle); - -GLuint SDL_GL_SurfaceToTexture(SDL_Surface * surface); -static __inline__ unsigned int NextPow2(unsigned int value); - #endif |