fix hash reference
parent
bc408a6403
commit
68a4a1e60b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue