like g3_DrawPoly(), but checks to see if facing. If surface normal is NULL, this routine must compute it, which will be slow. It is better to pre-compute the normal, and pass it to this function. When the normal is passed, this function works like g3_CheckNormalFacing() plus g3_DrawPoly().
| 131 | // is passed, this function works like g3_CheckNormalFacing() plus |
| 132 | // g3_DrawPoly(). |
| 133 | void g3_CheckAndDrawPoly(int nv, g3Point **pointlist, int bm, vector *norm, vector *pnt) { |
| 134 | if (DoFacingCheck(norm, pointlist, pnt)) |
| 135 | g3_DrawPoly(nv, pointlist, bm); |
| 136 | } |
| 137 | |
| 138 | int Triangulate_test = 0; |
| 139 |
no test coverage detected