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.