18 template <
typename Real>
32 template <
typename Real>
40 std::abs(box.extent[0] *
Dot(plane.normal, box.axis[0])) +
41 std::abs(box.extent[1] *
Dot(plane.normal, box.axis[1])) +
42 std::abs(box.extent[2] *
Dot(plane.normal, box.axis[2]));
45 auto ppResult = ppQuery(box.center, plane);
46 result.intersect = (ppResult.distance <= radius);
gte::BSNumber< UIntegerType > abs(gte::BSNumber< UIntegerType > const &number)
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
Result operator()(Type0 const &primitive0, Type1 const &primitive1)