1 2 3 4 5 6 7 8 9 10 11 12
#ifndef BALL_H #define BALL_H GLuint ball_texture; typedef struct { GLfloat w, h, x, y, z; GLfloat r, g, b, a; GLfloat xv, yv, zv; } Ball_t; #endif