18 template <
typename Real>
31 template <
typename Real>
40 transformedCylinder.
radius = cylinder.radius;
41 transformedCylinder.
height = cylinder.height;
42 for (
int i = 0; i < 3; ++i)
44 transformedCylinder.
axis.origin[i] =
Dot(box.axis[i], diff);
45 transformedCylinder.
axis.direction[i] =
Dot(box.axis[i], cylinder.axis.direction);
49 auto aabbCylinderResult = aabbCylinderQuery(aabb, transformedCylinder);
51 result.intersect = aabbCylinderResult.intersect;
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
Result operator()(Type0 const &primitive0, Type1 const &primitive1)