Searched refs:nIntersects (Results 1 – 1 of 1) sorted by relevance
411 int nIntersects = 0; in DrawGouraud() local422 GetScanlineIntersect(y, position1, position2, &inter_x[nIntersects]); in DrawGouraud()427 r[nIntersects] = vertex1.r + ((vertex2.r - vertex1.r) * y_dist); in DrawGouraud()428 g[nIntersects] = vertex1.g + ((vertex2.g - vertex1.g) * y_dist); in DrawGouraud()429 b[nIntersects] = vertex1.b + ((vertex2.b - vertex1.b) * y_dist); in DrawGouraud()430 nIntersects++; in DrawGouraud()432 if (nIntersects != 2) in DrawGouraud()