Skip to content

Commit

Permalink
Merge pull request #4 from Yellow-Dog-Man/frooxius/tweak/increase-sta…
Browse files Browse the repository at this point in the history
…ck-traversal-depth

Increase stack traversal depth to 1024 from 256
  • Loading branch information
Frooxius authored Feb 18, 2025
2 parents 7365d93 + f54c2cd commit 42f333b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BepuPhysics/Trees/Tree_RayCast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internal readonly unsafe void RayCast<TLeafTester>(int nodeIndex, TreeRay* treeR

}

internal const int TraversalStackCapacity = 256;
internal const int TraversalStackCapacity = 1024;

internal readonly unsafe void RayCast<TLeafTester>(TreeRay* treeRay, RayData* rayData, ref TLeafTester leafTester) where TLeafTester : IRayLeafTester
{
Expand Down

0 comments on commit 42f333b

Please sign in to comment.