| 68 | |
| 69 | FClosestPosition() = default; |
| 70 | explicit FClosestPosition(const FVector& InOrigin); |
| 71 | FClosestPosition(const FVector& InOrigin, const FVector& InLocation); |
| 72 | FClosestPosition(const FVector& InOrigin, const FVector& InLocation, const int32 InIndex); |
| 73 | |
| 74 | bool Update(const FVector& InLocation); |
| 75 | bool Update(const FVector& InLocation, const int32 InIndex); |
| 76 | |
| 77 | FVector Direction() const { return (Origin - Location).GetSafeNormal(); } |
| 78 | |
| 79 | friend bool operator<(const FClosestPosition& A, const FClosestPosition& B) { return A.DistSquared < B.DistSquared; } |
| 80 | friend bool operator>(const FClosestPosition& A, const FClosestPosition& B) { return A.DistSquared > B.DistSquared; } |
nothing calls this directly
no outgoing calls
no test coverage detected