Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 3 of 3) sorted by relevance

/oneTBB/examples/parallel_for/tachyon/src/
H A Dquadric.cpp95 Aq = (q->mat.a * (rd.x * rd.x)) + (2.0 * q->mat.b * rd.x * rd.y) + in quadric_intersect()
96 (2.0 * q->mat.c * rd.x * rd.z) + (q->mat.e * (rd.y * rd.y)) + in quadric_intersect()
97 (2.0 * q->mat.f * rd.y * rd.z) + (q->mat.h * (rd.z * rd.z)); in quadric_intersect()
102 (q->mat.g * rd.y) + (q->mat.h * ro.z * rd.z) + (q->mat.i * rd.z)); in quadric_intersect()
104 Cq = (q->mat.a * (ro.x * ro.x)) + (2.0 * q->mat.b * ro.x * ro.y) + in quadric_intersect()
105 (2.0 * q->mat.c * ro.x * ro.z) + (2.0 * q->mat.d * ro.x) + (q->mat.e * (ro.y * ro.y)) + in quadric_intersect()
106 (2.0 * q->mat.f * ro.y * ro.z) + (2.0 * q->mat.g * ro.y) + (q->mat.h * (ro.z * ro.z)) + in quadric_intersect()
107 (2.0 * q->mat.i * ro.z) + q->mat.j; in quadric_intersect()
127 q->mat.c * (pnt->z - q->ctr.z) + q->mat.d); in quadric_normal()
130 q->mat.f * (pnt->z - q->ctr.z) + q->mat.g); in quadric_normal()
[all …]
H A Dapi.cpp398 q->mat.a = factor; in rt_quadsphere()
399 q->mat.b = 0.0; in rt_quadsphere()
400 q->mat.c = 0.0; in rt_quadsphere()
401 q->mat.d = 0.0; in rt_quadsphere()
402 q->mat.e = factor; in rt_quadsphere()
403 q->mat.f = 0.0; in rt_quadsphere()
404 q->mat.g = 0.0; in rt_quadsphere()
405 q->mat.h = factor; in rt_quadsphere()
406 q->mat.i = 0.0; in rt_quadsphere()
407 q->mat.j = -1.0; in rt_quadsphere()
H A Dquadric.hpp71 quadmatrix mat; member