Do you want a sparse 3D array or will your array be "full", with no holes? If it's sparse, simply use a dict indexed by (x, y, z). If it's full, you can either use a list of lists of float lists, or numpy's arrays. numpy is a fairly cool library when you want to do computations on large arrays in Python.
Thread Rating:
|
Programming Discussion Thread
|
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)
