Skip to main content

Crate fast_mesh_wasm

Crate fast_mesh_wasm 

Source
Expand description

JavaScript bindings for fast-mesh.

These functions are the raw WebAssembly exports. The npm package wraps them in a TypeScript layer (packages/fast-mesh-wasm/src/api.ts) that converts inputs, shapes results into plain objects and documents the public API.

Functionsยง

compute_bounds
Axis-aligned bounding box as six floats: [minX, minY, minZ, maxX, maxY, maxZ].
compute_vertex_normals
Smooth, area-weighted per-vertex normals; same length as positions.