Creating vox files in Rust
A Rust library for easily creating and loading magicavoxel files. Includes all functionality for creating and reading a simple 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.add_cube.unwrap;
cube_vox.save_as_file;
loading a file:
//opens a file and then auto scales it
let mut new_vox = load.expect;
new_vox.auto_size;
new_vox.save_as_file;