grid
grid copied to clipboard
lazyGridMap constructor crashes on UnboundedOctGrid
This is because indices is undefined for unbounded grids. That makes sense, but then maybe the constructor should be constrained by FiniteGrid so this can't happen?
It might require some changes to the type design and definitions. It's been years since I worked on this code, so I'm not sure.
Totally, no worries! Just thought I'd mark the issue for posterity because it confused me for a while.
The lib is really useful for my game project, thanks for making it!