3D grid type similar to grid library?

I can't find a library that provides similar functionality to the grid library (https://crates.io/crates/grid), but in 3D. Does this library even exist? I just need a way to store data in 3D for a game/game engine i'm making.

(Also, am i supposed to put this in help? This is asking for help, but it's less about the actual programming and more about finding something to help with the programming)

The general answer is ndarray — data structures in Rust // Lib.rs

You probably want to be careful, though: uncompressed 3d storage gets real expensive really quick, you might want to look at oct-trees, kD-trees or some other system to compress your data.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.