Skip to content

Commit

Permalink
micro optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSimons committed Feb 17, 2025
1 parent f39b7a0 commit eefcfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/_Application/Utility/BoundingBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ public void Encapsulate(BoundingBox bounds)
if(bounds == null)
return;

Encapsulate(bounds.Center - bounds.Size/2);
Encapsulate(bounds.Center + bounds.Size/2);
Encapsulate(bounds.Center - bounds.Size * 0.5f);
Encapsulate(bounds.Center + bounds.Size * 0.5f);
}

public void Encapsulate(Coordinate coordinate)
Expand Down

0 comments on commit eefcfd5

Please sign in to comment.