From 1dfebf08eeb2b648e69b3aa18528aa4c8b124955 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 8 Sep 2013 11:06:16 -0400 Subject: [PATCH] add convenience overload --- Blarg.GameFramework/TileMap/TileContainer.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Blarg.GameFramework/TileMap/TileContainer.cs b/Blarg.GameFramework/TileMap/TileContainer.cs index 3714e16..b095ecb 100644 --- a/Blarg.GameFramework/TileMap/TileContainer.cs +++ b/Blarg.GameFramework/TileMap/TileContainer.cs @@ -51,6 +51,11 @@ namespace Blarg.GameFramework.TileMap return true; } + public void GetBoundingBoxFor(Point3 point, ref BoundingBox result) + { + GetBoundingBoxFor(point.X, point.Y, point.Z, ref result); + } + public void GetBoundingBoxFor(int x, int y, int z, ref BoundingBox result) { // local "TileContainer space"