1 unstable release
0.1.0 | Jun 1, 2019 |
---|
#347 in Rendering
12KB
322 lines
voxelize-rs
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.
Dependencies
~4MB
~73K SLoC