Crates.io | voxelize-rs |
lib.rs | voxelize-rs |
version | 0.1.0 |
source | src |
created_at | 2019-06-01 21:40:55.755716 |
updated_at | 2019-06-01 21:40:55.755716 |
description | Native rust library to voxelize a triangle soup |
homepage | https://github.com/Jasper-Bekkers/voxelize-rs |
repository | https://github.com/Jasper-Bekkers/voxelize-rs |
max_upload_size | |
id | 138384 |
size | 11,162 |
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.