Skip to content

Commit bca3f65

Browse files
committed
WIP
1 parent eeddb2b commit bca3f65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Kdtree/Source/Kdtree/Private/AsyncKdtreeBPLibrary.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class FCollectFromKdtreeSphereTask : public FNonAbandonableTask
100100

101101
void DoWork()
102102
{
103-
KdtreeInternal::CollectFromKdtreeSphere(Params.Tree->Internal, Params.Center, Params.Radius, Params.Indices);
103+
KdtreeInternal::CollectFromKdtree(Params.Tree->Internal, Params.Center, Params.Radius, Params.Indices);
104104
for (int Index = 0; Index < Params.Indices->Num(); ++Index)
105105
{
106106
Params.Data->Add(Params.Tree->Internal.Data[(*Params.Indices)[Index]]);
@@ -142,8 +142,8 @@ class FCollectFromKdtreeSphereAction : public FPendingLatentAction
142142
}
143143
};
144144

145-
void UAsyncKdtreeBPLibrary::CollectFromKdtreeSphereAsync(const UObject* WorldContextObject, const FKdtree& Tree, const FVector Center,
146-
float Radius, TArray<int>& Indices, TArray<FVector>& Data, FLatentActionInfo LatentInfo)
145+
void UAsyncKdtreeBPLibrary::CollectFromKdtreeSphereAsync(const UObject* WorldContextObject, const FKdtree& Tree,
146+
const FVector Center, float Radius, TArray<int>& Indices, TArray<FVector>& Data, FLatentActionInfo LatentInfo)
147147
{
148148
if (UWorld* World = GEngine->GetWorldFromContextObject(WorldContextObject, EGetWorldErrorMode::LogAndReturnNull))
149149
{

0 commit comments

Comments
 (0)