Creating vox files in Rust
A Rust library for easily creating and loading magicavoxel files. Includes all functionality for creating and reading a .vox file. Supports multiple models and copies of models in the same .vox file.
Example
creating a file:
//creates a vox file with a red cube in the center.
let mut cube_vox = new;
cube_vox.set_palette_color;
cube_vox.models.add_cube.unwrap;
cube_vox.save;
loading a file:
//opens a file and then auto scales it
let mut new_vox = load;
new_vox.models.auto_size;
new_vox.save;