Searched refs:rd (Results 1 – 3 of 3) sorted by relevance
85 vector rd; in quadric_intersect() local88 rd = ry->d; in quadric_intersect()89 VNorm(&rd); in quadric_intersect()95 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()99 Bq = 2.0 * ((q->mat.a * ro.x * rd.x) + (q->mat.b * ((ro.x * rd.y) + (rd.x * ro.y))) + in quadric_intersect()100 (q->mat.c * ((ro.x * rd.z) + (rd.x * ro.z))) + (q->mat.d * rd.x) + in quadric_intersect()101 (q->mat.e * ro.y * rd.y) + (q->mat.f * ((ro.y * rd.z) + (rd.y * ro.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()
45 std::random_device rd; member49 State() : gen(rd()), dist(0, std::numeric_limits<unsigned short>::max()) {} in State()
778 std::random_device rd; in test() local779 std::mt19937 gen(rd()); in test()