forked from Rowland/EG
| .. | ||
| package.json | ||
| README.md | ||
| wasm_splats_bg.wasm | ||
| wasm_splats.d.ts | ||
| wasm_splats.js | ||
wasm-splats
The wasm-splats package contains high-performance algorithms used in the rendering of Gaussian Splats in CesiumJS.
Getting Started
Follow the instructions in the cesium-wasm-utils README to clone the repository and install prerequisites.
Building
To build the package, run:
wasm-pack build --release --target web --scope cesium
This will output a pkg directory containing the compiled WebAssembly module and JavaScript bindings.
Testing
To run the unit and integration tests, run:
wasm-pack test --headless --chrome --firefox
In macOS, you can also add --safari to run the tests in Safari.