20template <
typename RealType>
131 true, Quantity, Point0, Point1, Type);
175 Point0 = RayOrigin +
t0 * RayDirection;
176 Point1 = RayOrigin +
t1 * RayDirection;
182 Point0 = RayOrigin +
t0 * RayDirection;
200 if (
denom > (RealType)0)
212 else if (
denom < (RealType)0)
226 return numer <= (RealType)0;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EIntersectionType
Definition VectorUtil.h:18
Definition IntrRay3AxisAlignedBox3.h:22
static bool DoClipping(RealType &t0, RealType &t1, const TVector< RealType > &RayOrigin, const TVector< RealType > &RayDirection, const TAxisAlignedBox3< RealType > &Box, bool solid, int &quantity, TVector< RealType > &Point0, TVector< RealType > &Point1, EIntersectionType &intrType)
Definition IntrRay3AxisAlignedBox3.h:152
static bool FindIntersection(const TVector< RealType > &Origin, const TVector< RealType > &Direction, const TAxisAlignedBox3< RealType > &Box, RealType &RayParamOut)
Definition IntrRay3AxisAlignedBox3.h:122
static bool FindIntersection(const TRay< RealType > &Ray, const TAxisAlignedBox3< RealType > &Box, RealType &RayParamOut)
Definition IntrRay3AxisAlignedBox3.h:110
static bool Clip(RealType denom, RealType numer, RealType &t0, RealType &t1)
Definition IntrRay3AxisAlignedBox3.h:194
static bool TestIntersection(const TRay< RealType > &Ray, const TAxisAlignedBox3< RealType > &Box, RealType ExpandExtents=0)
Definition IntrRay3AxisAlignedBox3.h:36
TIntrRay3AxisAlignedBox3< double > FIntrRay3AxisAlignedBox3d
Definition IntrRay3AxisAlignedBox3.h:234
TIntrRay3AxisAlignedBox3< float > FIntrRay3AxisAlignedBox3f
Definition IntrRay3AxisAlignedBox3.h:233
Definition AdvancedWidgetsModule.cpp:13
Definition NumericLimits.h:41
Definition BoxTypes.h:247
TVector< T > Origin
Definition Ray.h:24
TVector< T > Direction
Definition Ray.h:27
T Z
Definition Vector.h:68
static TVector< T > Zero()
Definition Vector.h:112
T Y
Definition Vector.h:65
T X
Definition Vector.h:62