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