Does anyone know of any open source libraries that provide a simple grid (2d matrix) structure- for simple game navigation? I am running into a lot of problems with the one I created for my ai project and it would be nice to have something reliable to work with. Thanks!

9 Years
Discussion Span
Last Post by ArkM

1. All matrices are 2D arrays by definition ;)
2. As usually, matrix classes provide matrix oriented operations (transpose, invert, matrix arithmetics etc. Are you sure that you need all these features for simple game navigation (can't imagine what's a beast)?
3. May be better try to present some of a lot of problems with the one you created? A simple grid structure has a lot of simplest implementations in C++...
4. Google (or this forum) search gets tons of links on 2D arrays/matrices in C++...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.