mfaella / beginning-android-games

The code from the book "Beginning Android Games". Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

[Chapter 8] Examples for SpatialHashGrid missing a if condition #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The SpatialHashGrid examples in your download section missing the "i<=3" 
condition in all of your cell methos (remove, add, get).
Wihout that, the example will crash many times.

best regards,
joe

Original issue reported on code.google.com by Klaus.Ri...@gmail.com on 6 Oct 2011 at 1:51