manifold-rs 0.7.0

Rust wrapper for manifold
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let sphere = manifold_rs::Manifold::sphere(4.0, 32);
    let vertices = sphere.to_mesh().vertices();
    let indices = sphere.to_mesh().indices();

    assert!(!vertices.is_empty());
    assert!(!indices.is_empty());

    println!("Vertices:\n{vertices:?}");
    println!("Indices:\n{indices:?}");
}