18 template <
typename Real>
32 template <
typename Real>
39 ellipsoid.GetMInverse(MInverse);
40 Real discr =
Dot(plane.normal, MInverse * plane.normal);
41 Real root = sqrt(std::max(discr, (Real)0));
43 Real
distance = vpQuery(ellipsoid.center, plane).distance;
44 result.intersect = (distance <= root);
GLsizei GLsizei GLfloat distance
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
Result operator()(Type0 const &primitive0, Type1 const &primitive1)