From 68a4a1e60b9f8c43ad59557102d0817f833e79f8 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sat, 14 Sep 2019 22:08:57 -0700 Subject: [PATCH] fix hash reference --- content/broad_phase/spatial_hash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/broad_phase/spatial_hash.md b/content/broad_phase/spatial_hash.md index 87f3ed0..3f3df2b 100644 --- a/content/broad_phase/spatial_hash.md +++ b/content/broad_phase/spatial_hash.md @@ -32,7 +32,7 @@ hash.Insert(1, rect, rectTransform); To find potential collisions, use the **Retrieve** method and give an ID, an IShape2D, and a Transform2D. ```cs -spatialHash.Retrieve(1, rectB, rectBTransform); +hash.Retrieve(1, rectB, rectBTransform); ``` In this example, the above method call returns an *IEnumerable<(T, IShape2D, Transform)>* containing the circle information we inserted.