From b5fd222063c628ab1dce2e9344d5c8bf15265e67 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 1 Sep 2013 08:16:49 -0400 Subject: [PATCH] these should be ref parameters in order to "return" min/max values --- Blarg.GameFramework/TileMap/TileContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blarg.GameFramework/TileMap/TileContainer.cs b/Blarg.GameFramework/TileMap/TileContainer.cs index 4bcef05..3714e16 100644 --- a/Blarg.GameFramework/TileMap/TileContainer.cs +++ b/Blarg.GameFramework/TileMap/TileContainer.cs @@ -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;