Skip to content

Commit 6e1fdff

Browse files
Update BenchmarkActor.cpp
1 parent 7b2b4e0 commit 6e1fdff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FlyingNavBenchmark/Source/FlyingNavBenchmark/BenchmarkActor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void ABenchmarkActor::Benchmark()
8282
for (int i = 0; i < BenchmarkResolutions.Num(); i++)
8383
{
8484
FlyingNavData->MaxDetailSize = BenchmarkResolutions[i];
85-
const int32 NumLayers = FlyingNavSystem::GetNumLayers(FlyingNavData->GetOctreeSideLength(), BenchmarkResolutions[i]);
85+
const int32 NumLayers = FlyingNavSystem::GetNumLayers(FlyingNavData->GetOctreeSideLength(), BenchmarkResolutions[i], 0);
8686
const int32 NumVoxels = FMath::Pow(8, NumLayers);
8787

8888
double StartTime = FPlatformTime::Seconds();

0 commit comments

Comments
 (0)