This probably should be moved into a separate library but I duplicate code for storing and accessing cartesian coordinate's in a 1D array. It maybe useful to make a polymorphic struct for the purpose of providing a standard interface for 1D array access.
This probably should be moved into a separate library but I duplicate code for storing and accessing cartesian coordinate's in a 1D array. It maybe useful to make a polymorphic struct for the purpose of providing a standard interface for 1D array access.
Boohu does this with a pos type