these should be ref parameters in order to "return" min/max values
This commit is contained in:
parent
0a08631df6
commit
b5fd222063
|
@ -62,7 +62,7 @@ namespace Blarg.GameFramework.TileMap
|
|||
result.Max += Bounds.Min;
|
||||
}
|
||||
|
||||
public bool GetOverlappedTiles(BoundingBox box, Point3 min, Point3 max)
|
||||
public bool GetOverlappedTiles(BoundingBox box, ref Point3 min, ref Point3 max)
|
||||
{
|
||||
// make sure the given box actually intersects with this TileContainer in the first place
|
||||
var bounds = Bounds;
|
||||
|
|
Reference in a new issue