17 template <
typename Real>
31 template <
typename Real>
37 result.signedDistance =
Dot(plane.normal, point) - plane.constant;
38 result.distance =
std::abs(result.signedDistance);
39 result.planeClosestPoint = point - result.signedDistance*plane.normal;
gte::BSNumber< UIntegerType > abs(gte::BSNumber< UIntegerType > const &number)
Vector3< Real > planeClosestPoint
GLsizei GLsizei GLfloat distance
Result operator()(Type0 const &primitive0, Type1 const &primitive1)
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)