(style, xyzv, abc)
| 415 | } |
| 416 | |
| 417 | var tryDrawTri = function(style, xyzv, abc) { |
| 418 | if( // we check here if the points are in `real` iso-min/max range |
| 419 | almostInFinalRange(xyzv[0][3]) && |
| 420 | almostInFinalRange(xyzv[1][3]) && |
| 421 | almostInFinalRange(xyzv[2][3]) |
| 422 | ) { |
| 423 | drawTri(style, xyzv, abc); |
| 424 | return true; |
| 425 | } else if(nPass < MAX_PASS) { |
| 426 | return tryCreateTri(style, xyzv, abc, vMin, vMax, ++nPass); // i.e. second pass using actual vMin vMax bounds |
| 427 | } |
| 428 | return false; |
| 429 | }; |
| 430 | |
| 431 | if(ok[0] && ok[1] && ok[2]) { |
| 432 | return tryDrawTri(style, xyzv, abc) || result; |
no test coverage detected
searching dependent graphs…