#pragma once #define PINBALL_MASS 1.0f #define PADDLE_MASS 100.0f #define PADDLE_LENGTH 5.0f #define PINBALL_RADIUS 0.5f #define BUMPER_RADIUS 1.75f #define NUM_BUMPERS 2 #define BUMPER_COLORS 4 struct pinball { GLfloat x, y, z; GLfloat dx, dy; }; struct bumper { GLfloat x, y; int color; }; struct paddle { GLfloat x, y; GLfloat az; GLfloat daz; }; extern GLuint ballDL; extern GLuint bumperDL; extern GLuint paddleDL;