| 463 | } |
| 464 | |
| 465 | void rendershadow_tri(sqr *h, int x1, int y1, int x2, int y2, int x3, int y3) // floor tris on a corner cube |
| 466 | { |
| 467 | stripend(shadowverts); |
| 468 | |
| 469 | shadowvert(x1, y1, h->floor); |
| 470 | shadowvert(x2, y2, h->floor); |
| 471 | shadowvert(x3, y3, h->floor); |
| 472 | addstrip(mergestrips ? GL_TRIANGLES : GL_TRIANGLE_STRIP, DEFAULT_FLOOR, shadowverts.length()-3, 3); |
| 473 | } |
| 474 | |
| 475 | void rendershadow_tris(int x, int y, bool topleft, sqr *h1, sqr *h2) |
| 476 | { |
no test coverage detected