A modular mesh-editing library for the web and native. Use it headless, or bring your own renderer and wire it up to consume GPU-ready mesh data and shaders for rendering mesh points, edges, and faces.
| Crate | Role |
|---|---|
mesh |
Headless mesh kernel based on a radial edge structure. |
topology-overlay |
A translation layer from the mesh data model to GPU-ready data buffers for drawing the mesh overlay (points, edges, and faces). |
mesh-editor |
An orchestration layer for composing multiple meshes and overlays, and manager of global state (like edit mode, tools, etc.). |
The rust-toolchain.toml pins the toolchain and adds the wasm32-unknown-unknown target automatically.
cargo test # runs unit tests for native crates
cargo clippy # lints
cargo fmt # formatwasm-pack build mesh-editor --target web --out-name mesh-editor -- --features wasmThis emits an npm-ready package (.wasm + JS glue + auto-generated .d.ts) into mesh-editor/pkg/, which CesiumJS imports.
cargo doc --no-deps --document-private-items --open