Load MagicaVoxel Vox file for bevy engine.
Example
```rust
use bevy::prelude::;
use bevy_vox::;
fn main() {
App::build()
.adddefaultplugins()
.addplugin(VoxPlugin)
.addstartup_system(setup.system())
.run();
}
fn setup(
mut commands: Commands,
assetserver: Res,
mut materials: ResMut>,
) {
// add entities to the world
commands
// mesh
.spawn(PbrComponents {
// load a mesh from vox
mesh: assetserver.load("assets/2x2x2.vox").unwrap(),
// create a material for the mesh
material: materials.add(Color::rgb(0.8, 0.7, 0.6).into()),
transform: Transform::fromtranslation(Vec3::new(0.0, 0.0, 0.0)),
..Default::default()
})
// light
.spawn(LightComponents {
transform: Transform::fromtranslation(Vec3::new(10.0, -3.0, -8.0)),
..Default::default()
})
// camera
.spawn(Camera3dComponents {
transform: Transform::new(Mat4::face_toward(
Vec3::new(6.0, -6.0, 6.0),
Vec3::new(0.0, 0.0, 0.0),
Vec3::new(0.0, 1.0, 0.0),
)),
..Default::default()
});
}
```