hexasphere
hexasphere copied to clipboard
Subdividing triangle meshes.
Instead of bumping major version every time that `glam` updates, we should rewrite the public api to use `mint`.
The following code: ```rust let subdivisions = 64; let sphere = IcoSphere::new(subdivisions, |_| ()); println!("passed vs got subdivisions: {} / {}", subdivisions, sphere.subdivisions()); ``` prints: passed vs got subdivisions: 64...
I needed to be able to serialize and deserialize `Subdivided`, so I forked the crate and added `serde` as an optional feature. Since others may have similar needs, and this...
While creating a subdivided sphere, I noticed that the generated faces systematically have slightly different areas. Any idea where this comes from? For zero subdivisions, i.e. the icosahedron, the areas...