Searched refs:DOT (Results 1 – 1 of 1) sorted by relevance
132 #define DOT(v1, v2) (v1.x * v2.x + v1.y * v2.y + v1.z * v2.z) macro165 det = DOT(trn->edge1, pvec); in tri_intersect()176 u = DOT(tvec, pvec) * inv_det; in tri_intersect()184 v = DOT(ry->d, qvec) * inv_det; in tri_intersect()189 t = DOT(trn->edge2, qvec) * inv_det; in tri_intersect()211 lensqr = DOT(norm, norm); in stri_normal()216 U = DOT(tmp, norm) / lensqr; in stri_normal()219 V = DOT(tmp, norm) / lensqr; in stri_normal()