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

Method Add

Source/PCGExtendedToolkit/Private/Paths/PCGExPaths.cpp:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 double FPathMetrics::Add(const FVector& Location)
98 {
99 if (Length == -1)
100 {
101 Reset(Location);
102 return 0;
103 }
104 Length += DistToLast(Location);
105 Last = Location;
106 Count++;
107 return Length;
108 }
109
110 double FPathMetrics::Add(const FVector& Location, double& OutDistToLast)
111 {

Callers 15

FExtrusionMethod · 0.45
InsertMethod · 0.45
UpdateExtrusionQueueMethod · 0.45
ProcessMethod · 0.45
PCGEX_ON_STATEFunction · 0.45
CompleteWorkMethod · 0.45
ProcessMethod · 0.45

Calls 2

ResetFunction · 0.85
DistToLastFunction · 0.85

Tested by

no test coverage detected