Native voxelization library
Add this to your Cargo.toml
:
[dependencies]
voxelize-rs = "0.1.0"
let tri = Triangle::new(
Vector3::new(0f32, 0f32, 0f32),
Vector3::new(0f32, 1f32, 0f32),
Vector3::new(0f32, 0f32, 1f32),
);
let coords = voxelize(&vec![tri], &Vector3::new(0.1, 0.1, 0.1));
Licensed under MIT license (http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.
Contributions are always welcome; please look at the issue tracker to see what known improvements are documented.