Lines Matching refs:Triangle
125 function Triangle(p1, p2, p3) { class
160 Triangle.prototype.intersect = function(orig, dir, near, far) {
331 triangles[i++] = new Triangle(tfl, tfr, bfr);
332 triangles[i++] = new Triangle(tfl, bfr, bfl);
334 triangles[i++] = new Triangle(tbl, tbr, bbr);
335 triangles[i++] = new Triangle(tbl, bbr, bbl);
339 triangles[i++] = new Triangle(tbl, tfl, bbl);
341 triangles[i++] = new Triangle(tfl, bfl, bbl);
344 triangles[i++] = new Triangle(tbr, tfr, bbr);
345 triangles[i++] = new Triangle(tfr, bfr, bbr);
347 triangles[i++] = new Triangle(tbl, tbr, tfr);
348 triangles[i++] = new Triangle(tbl, tfr, tfl);
350 triangles[i++] = new Triangle(bbl, bbr, bfr);
351 triangles[i++] = new Triangle(bbl, bfr, bfl);
375 triangles[i++] = new Triangle(fbl, fbr, ffr);
377 triangles[i++] = new Triangle(fbl, ffr, ffl);