MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / Project

Method Project

Source/PCGExtendedToolkit/Private/Geometry/PCGExGeo.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39FVector FPCGExGeo2DProjectionDetails::Project(const FVector& InPosition, const int32 PointIndex) const
40{
41 return NormalGetter ? FQuat::FindBetweenNormals(NormalGetter->Read(PointIndex).GetSafeNormal(1E-08, FVector::UpVector), FVector::UpVector).RotateVector(InPosition) :
42 ProjectionQuat.RotateVector(InPosition);
43}
44
45FVector FPCGExGeo2DProjectionDetails::Project(const FVector& InPosition) const
46{

Callers 1

ProcessFunction · 0.80

Calls 3

InitArrayFunction · 0.85
NumMethod · 0.80
ReadMethod · 0.45

Tested by

no test coverage detected