Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.32 KB

voxelize-rs

travis-ci.com 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.