| Crates.io | bevy_mops |
| lib.rs | bevy_mops |
| version | 0.1.1 |
| created_at | 2024-04-30 01:55:41.554128+00 |
| updated_at | 2024-04-30 15:59:40.119545+00 |
| description | Mesh Operations library for bevy |
| homepage | |
| repository | https://github.com/PixelDoted/bevy_mops |
| max_upload_size | |
| id | 1224616 |
| size | 140,317 |
// We convert from a "Bevy Mesh" to a `GIMesh` (Globally-positioned Index Mesh)
let mut a = GIMesh::from_mesh(mesh_a);
let b = GIMesh::from_mesh(mesh_b);
// slice `a` triangles by `b`
slice(&mut a, &b);
// seperates `a` into `inside` and `outside` of `b`
let output = seperate(&a, &b);
// Convert the `output` back to a "Bevy Mesh"
let output_mesh = output.inside.to_mesh().unwrap();
// ... Create a handle and apply it to an entity
GIMesh?Vec3)| bevy | bevy_mops |
|---|---|
| 0.13 | 0.1 |
all code in this repository is dual-licensed under either:
at your option.