| 194 | #include "varray.h" |
| 195 | |
| 196 | void line(int x1, int y1, float z1, int x2, int y2, float z2) |
| 197 | { |
| 198 | glBegin(GL_TRIANGLE_STRIP); |
| 199 | glVertex3f((float)x1, (float)y1, z1); |
| 200 | glVertex3f((float)x1, y1+0.01f, z1); |
| 201 | glVertex3f((float)x2, (float)y2, z2); |
| 202 | glVertex3f((float)x2, y2+0.01f, z2); |
| 203 | glEnd(); |
| 204 | xtraverts += 4; |
| 205 | } |
| 206 | |
| 207 | void line(int x1, int y1, int x2, int y2, color *c) |
| 208 | { |
no outgoing calls
no test coverage detected