Searched refs:spr (Results 1 – 1 of 1) sorted by relevance
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | sphere.cpp | 92 static void sphere_intersect(sphere *spr, ray *ry) { in sphere_intersect() argument 96 VSUB(spr->ctr, ry->o, V); in sphere_intersect() 100 disc = b * b + spr->rad * spr->rad - temp; in sphere_intersect() 109 add_intersection(t2, (object *)spr, ry); in sphere_intersect() 113 add_intersection(t1, (object *)spr, ry); in sphere_intersect() 116 static void sphere_normal(sphere *spr, vector *pnt, ray *incident, vector *N) { in sphere_normal() argument 117 VSub((vector *)pnt, &(spr->ctr), N); in sphere_normal()
|