UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RayIntersectBenchmark.cpp File Reference
#include "CoreTypes.h"
#include "Math/Vector.h"
#include "Math/RandomStream.h"

Functions

FORCEINLINE bool LineCheckWithTriangle (const FVector &V1, const FVector &V2, const FVector &V3, const FVector &Start, const FVector &End)
 
float RayIntersectBenchmark ()
 

Function Documentation

◆ LineCheckWithTriangle()

FORCEINLINE bool LineCheckWithTriangle ( const FVector V1,
const FVector V2,
const FVector V3,
const FVector Start,
const FVector End 
)

Line Check With Triangle Algorithm based on "Fast, Minimum Storage Ray/Triangle Intersection" Returns true if the line segment does hit the triangle

code duplication to not get a different result if the source gets optimized

◆ RayIntersectBenchmark()

float RayIntersectBenchmark ( )