Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/IntersectionUtil.h |
Include |
#include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
bool IntersectionUtil::LineSphereIntersection
(
const FVector3< RealType > & LineOrigin,
const FVector3< RealType > & LineDirection,
const FVector3< RealType > & SphereCenter,
RealType SphereRadius,
FLinearIntersection & ResultOut
)
}
Intersect line with sphere and return intersection info (# hits, ray parameters)
true if line intersects sphere