Skip to content

Commit

Permalink
Clarification!
Browse files Browse the repository at this point in the history
  • Loading branch information
RossNordby committed Nov 21, 2023
1 parent 62cd95e commit 02d18a6
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 @@ -7,7 +7,7 @@ namespace BepuPhysics.Trees
partial struct Tree
{
//Working around https://github.com/dotnet/runtime/issues/95043:
//Under x86 with optimizations, forcing inlining seems to cause problems for sweeps. It also harms performance.
//Under x86 with optimizations, forcing inlining seems to cause problems for sweeps. *Not* forcing it also harms performance.
//Under x64, though, there's not really any cost to letting the JIT decide. TODO: Probably should look into ARM eventually.
//[MethodImpl(MethodImplOptions.AggressiveInlining)]
public unsafe static bool Intersects(Vector3 min, Vector3 max, TreeRay* ray, out float t)
Expand Down

0 comments on commit 02d18a6

Please sign in to comment.