Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

mesh-editor

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.

Workspace layout

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.).

Prerequisites

The rust-toolchain.toml pins the toolchain and adds the wasm32-unknown-unknown target automatically.

Develop and test (native — fast)

cargo test          # runs unit tests for native crates
cargo clippy        # lints
cargo fmt           # format

Build the Wasm package

wasm-pack build mesh-editor --target web --out-name mesh-editor -- --features wasm

This emits an npm-ready package (.wasm + JS glue + auto-generated .d.ts) into mesh-editor/pkg/, which CesiumJS imports.

Docs

cargo doc --no-deps --document-private-items --open

License

Apache-2.0.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors