Searched refs:rays (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-raytrace.js284 rays = new Array(new Object(), new Object());
285 rays[0].origin = this.origin;
286 rays[1].origin = this.origin;
287 rays[0].dir = addVector(scale(this.directions[0], y), scale(this.directions[3], 1 - y));
288 rays[1].dir = addVector(scale(this.directions[1], y), scale(this.directions[2], 1 - y));
289 return rays;
294 var rays = camera.generateRayPair(y / height);
297 var origin = addVector(scale(rays[0].origin, xp), scale(rays[1].origin, 1 - xp));
298 var dir = normaliseVector(addVector(scale(rays[
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A D3d-raytrace.js284 rays = new Array(new Object(), new Object());
285 rays[0].origin = this.origin;
286 rays[1].origin = this.origin;
287 rays[0].dir = addVector(scale(this.directions[0], y), scale(this.directions[3], 1 - y));
288 rays[1].dir = addVector(scale(this.directions[1], y), scale(this.directions[2], 1 - y));
289 return rays;
294 var rays = camera.generateRayPair(y / height);
297 var origin = addVector(scale(rays[0].origin, xp), scale(rays[1].origin, 1 - xp));
298 var dir = normaliseVector(addVector(scale(rays[
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A D3d-raytrace.js284 rays = new Array(new Object(), new Object());
285 rays[0].origin = this.origin;
286 rays[1].origin = this.origin;
287 rays[0].dir = addVector(scale(this.directions[0], y), scale(this.directions[3], 1 - y));
288 rays[1].dir = addVector(scale(this.directions[1], y), scale(this.directions[2], 1 - y));
289 return rays;
294 var rays = camera.generateRayPair(y / height);
297 var origin = addVector(scale(rays[0].origin, xp), scale(rays[1].origin, 1 - xp));
298 var dir = normaliseVector(addVector(scale(rays[
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp402 SkDLine rays[] = {{{fCurvePart[0], rh.fCurvePart[rPts]}}, local
404 if (rays[0][1] == rays[1][1]) {
412 (*CurveIntersectRay[index ? rPts : lPts])(segment.pts(), rays[index], &i);
438 SkDVector m0 = rays[1][1] - fCurvePart[0];
448 SkDVector m1 = rays[0][1] - fCurvePart[0];
467 SkDVector cept = dPt - rays[index][0];
472 SkDVector total = rays[index][1] - rays[index][0];
477 SkDVector end = rays[inde
[all...]
/external/skia/src/pathops/
H A DSkOpAngle.cpp405 SkDLine rays[] = {{{fCurvePart[0], rh.fCurvePart[rPts]}}, local
407 if (rays[0][1] == rays[1][1]) {
415 (*CurveIntersectRay[index ? rPts : lPts])(segment.pts(), rays[index], &i);
441 SkDVector m0 = rays[1][1] - fCurvePart[0];
451 SkDVector m1 = rays[0][1] - fCurvePart[0];
470 SkDVector cept = dPt - rays[index][0];
475 SkDVector total = rays[index][1] - rays[index][0];
480 SkDVector end = rays[inde
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsAngleIdeas.cpp471 // continue end point rays and see if they intersect the opposite curve
472 SkDLine rays[] = {{{origin, quad2[2]}}, {{origin, quad1[2]}}};
490 intersect[index].intersectRay(q, rays[index]);
510 SkDVector end = rays[index][1] - origin;
529 SkDVector end = rays[sIndex][1] - origin;
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp471 // continue end point rays and see if they intersect the opposite curve
472 SkDLine rays[] = {{{origin, quad2[2]}}, {{origin, quad1[2]}}};
490 intersect[index].intersectRay(q, rays[index]);
510 SkDVector end = rays[index][1] - origin;
529 SkDVector end = rays[sIndex][1] - origin;
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DthingsToDo.txt137 Since intersecting these rays is unrelated to computing other intersections,
/external/skia/experimental/Intersection/
H A DthingsToDo.txt137 Since intersecting these rays is unrelated to computing other intersections,

Completed in 1336 milliseconds