17 template <
typename Real>
31 template <
typename Real>
39 Real sdistance0 = vpQuery(capsule.segment.p[0], plane).signedDistance;
40 Real sdistance1 = vpQuery(capsule.segment.p[1], plane).signedDistance;
41 if (sdistance0 * sdistance1 <= (Real)0)
45 result.intersect =
true;
52 std::abs(sdistance0) <= capsule.radius ||
53 std::abs(sdistance1) <= capsule.radius;
gte::BSNumber< UIntegerType > abs(gte::BSNumber< UIntegerType > const &number)
Result operator()(Type0 const &primitive0, Type1 const &primitive1)