fix hash reference

main
Evan Hemsley 2019-09-14 22:08:57 -07:00
parent bc408a6403
commit 68a4a1e60b
1 changed files with 1 additions and 1 deletions

View File

@ -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. To find potential collisions, use the **Retrieve** method and give an ID, an IShape2D, and a Transform2D.
```cs ```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. In this example, the above method call returns an *IEnumerable<(T, IShape2D, Transform)>* containing the circle information we inserted.