| 39 | extern SoundLib SndLib; |
| 40 | |
| 41 | void DrawWireframeList(grViewport *vp, g3s_point *p, int nv, ddgr_color color) { |
| 42 | g3s_point *p1, *p2; |
| 43 | int i; |
| 44 | |
| 45 | for (i = 0; i < nv; i++) { |
| 46 | p1 = &p[i]; |
| 47 | p2 = &p[(i + 1) % nv]; |
| 48 | |
| 49 | vp->line(color, p1->screenx, p1->screeny, p2->screenx, p2->screeny); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | void RenderTexFrame(grViewport *my_viewport) { |
| 54 | int nv, i, t; |