| 236 | } |
| 237 | |
| 238 | void box2d(int x1, int y1, int x2, int y2, int gray) |
| 239 | { |
| 240 | glColor3ub(gray, gray, gray); |
| 241 | glBegin(GL_LINE_LOOP); |
| 242 | glVertex2f(x1, y1); |
| 243 | glVertex2f(x2, y1); |
| 244 | glVertex2f(x2, y2); |
| 245 | glVertex2f(x1, y2); |
| 246 | glEnd(); |
| 247 | } |
| 248 | |
| 249 | void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy) |
| 250 | { |
no outgoing calls
no test coverage detected