voxelize-rs

Crates.iovoxelize-rs
lib.rsvoxelize-rs
version0.1.0
sourcesrc
created_at2019-06-01 21:40:55.755716
updated_at2019-06-01 21:40:55.755716
descriptionNative rust library to voxelize a triangle soup
homepagehttps://github.com/Jasper-Bekkers/voxelize-rs
repositoryhttps://github.com/Jasper-Bekkers/voxelize-rs
max_upload_size
id138384
size11,162
Jasper Bekkers (Jasper-Bekkers)

documentation

https://docs.rs/voxelize-rs

README

voxelize-rs

Latest version Documentation MIT

Native voxelization library

Usage

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));

License

Licensed under MIT license (http://opensource.org/licenses/MIT)

Contribution

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.

Commit count: 6

cargo fmt